:root {
  color-scheme: light;
  --ink: #18302e;
  --muted: #627572;
  --line: #d7e2de;
  --soft: #f2f6f3;
  --paper: #fcfdfb;
  --white: #ffffff;
  --teal: #0f6b63;
  --teal-dark: #0b4d47;
  --teal-pale: #dcefeb;
  --amber: #a86712;
  --amber-pale: #f8ead2;
  --blue-pale: #e5edf5;
  --shadow: 0 20px 50px rgba(24, 57, 53, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: radial-gradient(circle at 85% 8%, rgba(220,239,235,.7), transparent 27rem), var(--paper); }
button, input, select { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 74px; padding: .75rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(216, 226, 223, .9);
  background: rgba(251, 252, 251, .94); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: .8rem; width: fit-content; color: inherit; text-decoration: none; }
.brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; letter-spacing: -.02em; }
.brand small { display: block; margin-top: .12rem; color: var(--muted); font-size: .72rem; }
.brand-mark { position: relative; display: inline-flex; align-items: center; gap: 3px; width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--teal); }
.brand-mark i { display: block; width: 4px; border-radius: 4px; background: white; }
.brand-mark i:nth-child(1) { height: 12px; }
.brand-mark i:nth-child(2) { height: 22px; }
.brand-mark i:nth-child(3) { height: 16px; }
.site-header nav { display: flex; gap: .25rem; padding: .25rem; border-radius: 999px; background: var(--soft); }
.nav-link { border: 0; border-radius: 999px; background: transparent; padding: .52rem .85rem; color: var(--muted); cursor: pointer; text-decoration: none; }
.nav-link:hover, .nav-link.is-active { color: var(--teal-dark); background: white; box-shadow: 0 1px 4px rgba(20,43,42,.08); }
.about-link { justify-self: end; color: var(--teal-dark); font-size: .78rem; font-weight: 750; text-decoration: none; }
.about-link:hover { text-decoration: underline; }

main { width: min(1240px, calc(100% - 2rem)); margin: 0 auto; }
.home-page { background: var(--paper); }
.intro { padding: clamp(1.75rem,3.5vw,2.75rem) 0 1.75rem; }
.hero-shell { position: relative; isolation: isolate; padding: .75rem 0 1rem; text-align: center; }
.hero-shell::before, .hero-shell::after { content: ""; position: absolute; z-index: -1; inset: -3rem -2rem -1rem; pointer-events: none; mask-image: radial-gradient(ellipse at center,#000 25%,transparent 72%); }
.hero-shell::before { background: radial-gradient(ellipse at 35% 42%,rgba(157,217,194,.52),transparent 58%), radial-gradient(ellipse at 70% 48%,rgba(100,177,167,.32),transparent 54%); }
.hero-shell::after { background: radial-gradient(ellipse at 62% 38%,rgba(246,236,214,.34),transparent 48%), radial-gradient(ellipse at 42% 62%,rgba(177,226,211,.42),transparent 56%); }
.intro-content { position: relative; z-index: 1; min-width: 0; }
.eyebrow { margin: 0 0 .65rem; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
h1 { max-width: 850px; margin: 0; font-size: clamp(2.55rem, 6vw, 5.25rem); line-height: .98; font-weight: 500; }
.intro h1 span, .intro h1 em { display: block; }
.intro h1 { max-width: 1120px; margin-inline: auto; font-size: clamp(3.5rem,7.6vw,7rem); line-height: .99; letter-spacing: -.055em; }
.intro h1 em { margin-top: .03em; color: var(--teal); font-weight: 500; }
.intro-copy { max-width: 690px; margin: 1.8rem auto 0; color: #506662; font-size: clamp(1.05rem,1.5vw,1.3rem); line-height: 1.55; }
.hero-gene-search { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: .65rem; max-width: 660px; margin: 2rem auto 0; padding: .5rem .5rem .5rem 1.25rem; border: 1px solid rgba(15,107,99,.25); border-radius: 18px; background: white; box-shadow: 0 14px 36px rgba(24,57,53,.1); text-align: left; }
.hero-search-icon { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; }
.hero-gene-search .button-primary { min-height: 50px; padding-inline: 1.3rem; }
.hero-gene-search .button-primary span { margin-left: .6rem; }
.hero-gene-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,107,99,.1), 0 16px 42px rgba(24,57,53,.09); }
.hero-gene-search input { min-width: 0; padding: .75rem 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.hero-gene-search input::placeholder { color: #7a8c88; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: .8rem; margin-top: 1rem; }
.hero-actions .button-secondary { padding: .5rem .7rem; border: 0; border-radius: 6px; color: var(--teal-dark); background: transparent; font-weight: 600; }
.hero-actions .button-secondary:hover { background: var(--teal-pale); }
.hero-actions span { display: inline-block; margin-left: .35rem; }
.hero-scroll-cue { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid rgba(15,107,99,.25); border-radius: 50%; color: var(--teal); background: rgba(255,255,255,.65); transition: background .2s ease, border-color .2s ease; }
.hero-scroll-cue svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-scroll-cue:hover { background: var(--teal-pale); border-color: var(--teal); }
.hero-scroll-cue:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.home-page #stats { scroll-margin-top: 100px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-shell::before { animation: hero-gradient-drift 8s ease-in-out infinite; }
  .hero-shell::after { animation: hero-gradient-drift 16s ease-in-out -6s infinite reverse; }
  .intro h1 > span, .intro h1 > em { animation: hero-title-reveal 1.05s cubic-bezier(.16,1,.3,1) both; }
  .intro h1 > em { animation-delay: .16s; }
  .intro-copy, .hero-gene-search, .hero-actions { animation: hero-reveal .7s cubic-bezier(.2,.7,.25,1) both; }
  .intro-copy { animation-delay: .35s; }
  .hero-gene-search { animation-delay: .45s; }
  .hero-actions { animation-delay: .55s; }
  .hero-scroll-cue svg { animation: hero-scroll-nudge 1.4s ease-in-out 1.1s 2; }
}
@keyframes hero-reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-gradient-drift {
  0%, 100% { transform: translate3d(-4%,-2%,0) scale(1); }
  35% { transform: translate3d(5%,3%,0) scale(1.06); }
  70% { transform: translate3d(-2%,4%,0) scale(1.03); }
}
@keyframes hero-title-reveal { from { opacity: 0; transform: translateY(24px); clip-path: inset(0 -5% 100% -5%); } to { opacity: 1; transform: translateY(0); clip-path: inset(-10% -5% -15% -5%); } }
.headline-carousel-track { position: relative; }
.headline-carousel-track.is-looping { scroll-snap-type: none; scroll-behavior: auto; }
.headline-card[data-loop-copy] { animation: none; }
.headline-card[data-loop-copy]::after { content: attr(data-loop-copy); }
@keyframes hero-scroll-nudge { 0%, 35%, 100% { transform: translateY(0); } 60% { transform: translateY(4px); } }
.reader-guide { padding: 1.4rem; border: 1px solid rgba(15,107,99,.15); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: 0 20px 50px rgba(24,57,53,.08); }
.reader-guide ol { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.reader-guide li { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: .75rem; align-items: start; }
.reader-guide li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: white; background: var(--teal); font-family: Georgia, serif; }
.reader-guide strong, .reader-guide small { display: block; }
.reader-guide small { margin-top: .15rem; color: var(--muted); line-height: 1.4; }
.home-reader-guide { display: grid; grid-template-columns: minmax(210px,.65fr) minmax(0,1.35fr); gap: clamp(1.5rem,5vw,4rem); align-items: center; margin-top: 3rem; padding: clamp(1.5rem,3vw,2.3rem); }
.reader-guide-heading h2 { max-width: 420px; margin: 0; font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 500; line-height: 1.04; }
.home-reader-guide ol { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.home-reader-guide li { min-height: 112px; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(247,250,249,.82); }

.headline-carousel { margin-top: .6rem; padding: 2.7rem 0 .4rem; border-top: 1px solid var(--line); }
.headline-carousel-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.headline-carousel-heading h2 { max-width: 760px; margin: 0; font-size: clamp(2.1rem,4vw,3.6rem); font-weight: 500; line-height: .98; letter-spacing: -.035em; }
.headline-carousel-controls { display: flex; gap: .5rem; }
.headline-carousel-controls button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0 0 3px; border: 1px solid rgba(15,107,99,.16); border-radius: 50%; background: rgba(255,255,255,.84); box-shadow: 0 10px 30px rgba(24,57,53,.08); color: var(--teal-dark); font-size: 1.75rem; line-height: 1; cursor: pointer; backdrop-filter: blur(12px); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.headline-carousel-controls button:hover:not(:disabled), .headline-carousel-controls button:focus-visible { border-color: var(--teal); background: var(--teal-pale); outline: none; transform: scale(1.06); }
.headline-carousel-controls button:disabled { opacity: .35; cursor: default; }
.headline-carousel-viewport { margin-top: 1.55rem; overflow: hidden; }
.headline-carousel-track { display: flex; gap: 1rem; overflow-x: auto; padding: .35rem .1rem 1.35rem; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; cursor: grab; touch-action: pan-y; counter-reset: headline; }
.headline-carousel-track::-webkit-scrollbar { display: none; }
.headline-carousel-track:focus-visible { border-radius: 18px; outline: 3px solid rgba(15,107,99,.2); outline-offset: 3px; }
.headline-carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.headline-card { --card-bg: linear-gradient(145deg,#f7fbfa,#e7f4f1); --card-fg: var(--ink); --card-muted: #526560; --card-accent: var(--teal); position: relative; isolation: isolate; display: flex; flex: 0 0 calc((100% - 2rem) / 3); flex-direction: column; min-width: 0; min-height: 430px; overflow: hidden; padding: 1.55rem; border: 1px solid rgba(15,107,99,.13); border-radius: 28px; background: var(--card-bg); box-shadow: 0 22px 58px rgba(24,57,53,.11); color: var(--card-fg); counter-increment: headline; transition: transform .28s ease, box-shadow .28s ease; animation: headline-arrive .65s both; animation-delay: calc((var(--card-order, 0)) * 70ms); }
.headline-card:nth-child(1) { --card-order: 1; }
.headline-card:nth-child(2) { --card-order: 2; }
.headline-card:nth-child(3) { --card-order: 3; }
.headline-card:nth-child(4) { --card-order: 4; }
.headline-card:nth-child(5) { --card-order: 5; }
.headline-card:nth-child(6) { --card-order: 6; }
.headline-card:nth-child(7) { --card-order: 7; }
.headline-card:nth-child(8) { --card-order: 8; }
.headline-card.is-page-start { scroll-snap-align: start; }
.headline-card:hover { transform: translateY(-7px); box-shadow: 0 30px 72px rgba(24,57,53,.16); }
.headline-card::before { content: ""; position: absolute; z-index: -1; right: -75px; bottom: -90px; width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle at 35% 35%,rgba(255,255,255,.75),transparent 58%); box-shadow: 0 0 0 42px rgba(255,255,255,.08),0 0 0 84px rgba(255,255,255,.045); }
.headline-card::after { content: counter(headline, decimal-leading-zero); position: absolute; z-index: -1; top: 4px; right: 18px; color: currentColor; font-family: Georgia,"Times New Roman",serif; font-size: 7.8rem; line-height: 1; letter-spacing: -.08em; opacity: .055; }
.headline-card > * { position: relative; z-index: 1; }
.headline-card[data-headline-card="breadth"] { --card-bg: linear-gradient(150deg,#0f6b63 0%,#0a4e49 62%,#083c39 100%); --card-fg: #fff; --card-muted: rgba(255,255,255,.72); --card-accent: #bceee5; }
.headline-card[data-headline-card="events"] { --card-bg: linear-gradient(145deg,#eef9f7 0%,#c9ece5 100%); --card-fg: #123d39; --card-muted: #41635f; --card-accent: #0f6b63; }
.headline-card[data-headline-card="evidence"] { --card-bg: linear-gradient(150deg,#162d2b 0%,#244d48 100%); --card-fg: #fff; --card-muted: rgba(255,255,255,.7); --card-accent: #f3cf78; }
.headline-card[data-headline-card="literature"] { --card-bg: linear-gradient(145deg,#fff7e6,#f6dca4); --card-fg: #3e321d; --card-muted: #6d5d3d; --card-accent: #8b5c00; }
.headline-card[data-headline-card="contexts"] { --card-bg: linear-gradient(145deg,#e9f1fa,#cddff2); --card-fg: #20394d; --card-muted: #536b7d; --card-accent: #245f88; }
.headline-card[data-headline-card="methods"] { --card-bg: linear-gradient(150deg,#28243e,#454164); --card-fg: #fff; --card-muted: rgba(255,255,255,.7); --card-accent: #d9cdfd; }
.headline-card[data-headline-card="atlas"] { --card-bg: linear-gradient(145deg,#f5effb,#dfcef0); --card-fg: #432e52; --card-muted: #6a5776; --card-accent: #70408e; }
.headline-card[data-headline-card="syngo"] { --card-bg: linear-gradient(145deg,#dff3ea,#a9dfca); --card-fg: #173e33; --card-muted: #47695f; --card-accent: #0a684e; }
.headline-card-kicker { margin: 0; color: var(--card-accent); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.headline-card-value { display: block; max-width: 92%; margin-top: 1.05rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.55rem,4.2vw,4.2rem); font-weight: 500; line-height: .94; letter-spacing: -.055em; }
.headline-card-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; margin: 1.15rem 0 .7rem; }
.headline-card-metric { min-width: 0; padding: .62rem .68rem; border: 1px solid color-mix(in srgb,var(--card-fg) 13%,transparent); border-radius: 14px; background: color-mix(in srgb,var(--card-fg) 7%,transparent); backdrop-filter: blur(10px); }
.headline-card-metric:last-child:nth-child(odd) { grid-column: 1 / -1; }
.headline-card-metric strong, .headline-card-metric span { display: block; }
.headline-card-metric strong { color: var(--card-fg); font-family: Georgia,"Times New Roman",serif; font-size: 1.42rem; font-weight: 600; line-height: 1; letter-spacing: -.035em; }
.headline-card-metric span { margin-top: .25rem; color: var(--card-muted); font-size: .61rem; font-weight: 750; line-height: 1.3; }
.headline-card-metrics.is-tag-list { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .35rem; }
.headline-card[data-headline-card="syngo"] .headline-card-metrics { flex-direction: column; gap: 1rem; }
.headline-card[data-headline-card="syngo"] .headline-card-tag { padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 1.05rem; font-weight: 500; line-height: 1.45; }
.headline-card-tag { padding: .32rem .48rem; border: 1px solid color-mix(in srgb,var(--card-fg) 14%,transparent); border-radius: 999px; color: var(--card-fg); background: color-mix(in srgb,var(--card-fg) 7%,transparent); font-size: .58rem; font-weight: 720; line-height: 1.25; }
.headline-card-note { display: block; margin: 0 0 .85rem; color: var(--card-muted); font-size: .64rem; line-height: 1.45; }
.headline-card-link { align-self: flex-start; margin-top: auto; padding: .55rem .78rem; border: 1px solid color-mix(in srgb,var(--card-fg) 18%,transparent); border-radius: 999px; color: var(--card-fg); background: color-mix(in srgb,var(--card-fg) 8%,transparent); font-size: .72rem; font-weight: 800; text-decoration: none; cursor: pointer; backdrop-filter: blur(10px); }
.headline-card-link::after { content: " →"; }
.headline-card-link:hover, .headline-card-link:focus-visible { background: color-mix(in srgb,var(--card-fg) 15%,transparent); outline: 2px solid color-mix(in srgb,var(--card-fg) 38%,transparent); outline-offset: 2px; }
.headline-carousel-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 28px; }
.headline-carousel-dots { display: flex; gap: .45rem; }
.headline-carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #b6c6c2; cursor: pointer; transition: width .16s ease, background .16s ease; }
.headline-carousel-dots button[aria-current="true"] { width: 24px; border-radius: 999px; background: var(--teal); }
.headline-carousel-dots button:focus-visible { outline: 3px solid rgba(15,107,99,.22); outline-offset: 3px; }
@keyframes headline-arrive { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.syngo-overview { margin-top: 2.5rem; padding: 1.15rem 1.25rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.82); box-shadow: 0 12px 34px rgba(24,57,53,.05); }
.syngo-overview-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.syngo-overview-heading h2 { margin: 0; font-size: clamp(1.45rem,2.4vw,2.05rem); font-weight: 500; }
.syngo-overview-heading > p { max-width: 600px; margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.45; text-align: right; }
.syngo-overview-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.1rem; margin-top: .9rem; }
.syngo-overview-groups h3 { margin: 0 0 .45rem; font-family: inherit; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.syngo-term-list { display: flex; flex-wrap: wrap; gap: .38rem; }
.syngo-term-list button { display: inline-flex; gap: .42rem; align-items: center; padding: .42rem .62rem; border: 1px solid var(--line); border-radius: 999px; background: white; cursor: pointer; }
.syngo-term-list button:hover { border-color: var(--teal); background: var(--teal-pale); }
.syngo-term-list span { font-size: .7rem; }
.syngo-term-list strong { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 .3rem; border-radius: 999px; color: white; background: var(--teal); font-size: .61rem; }
.syngo-boundary { margin: .8rem 0 0; color: var(--muted); font-size: .66rem; line-height: 1.4; }
.syngo-search-guide { margin-top: 1rem; }
.syngo-search-guide .syngo-search-instruction { margin: .75rem 0 0; color: var(--muted); font-size: .78rem; }
.syngo-search-guide + .evidence-subnav, .syngo-search-guide + .filter-panel { margin-top: 1.25rem; }
.home-explore-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin: 4rem 0 6rem; padding: clamp(1.5rem,4vw,3rem); border: 1px solid rgba(15,107,99,.2); border-radius: 24px; background: linear-gradient(135deg,#e8f5f2 0%,#f8fbfa 58%,#fff7e8 100%); box-shadow: 0 18px 48px rgba(24,57,53,.08); }
.home-explore-cta h2 { margin: .25rem 0 .5rem; font-size: clamp(2rem,3.6vw,3.25rem); font-weight: 500; line-height: 1.04; }
.home-explore-cta p:last-child { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.55; }
.home-explore-cta .button-primary { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; text-decoration: none; }
.home-release { display: grid; grid-template-columns: minmax(280px,1fr) minmax(420px,.9fr); gap: 1.4rem 3rem; align-items: center; margin: -2rem 0 6rem; padding: clamp(1.4rem,3vw,2.2rem); border: 1px solid rgba(15,107,99,.18); border-radius: 24px; background: linear-gradient(135deg,#f9fcfb,#e9f4f1); box-shadow: 0 18px 48px rgba(24,57,53,.07); }
.home-release h2 { margin: .2rem 0 .55rem; font-size: clamp(1.75rem,3vw,2.7rem); font-weight: 500; line-height: 1.03; }
.home-release-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; color: var(--muted); font-size: .72rem; }
.home-release-meta span:first-child { overflow-wrap: anywhere; color: var(--ink); font-weight: 750; }
.home-downloads { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; }
.home-downloads a { min-width: 0; padding: .8rem; border: 1px solid rgba(15,107,99,.15); border-radius: 12px; color: var(--ink); background: white; text-decoration: none; transition: border-color .16s ease, transform .16s ease; }
.home-downloads a:hover, .home-downloads a:focus-visible { border-color: var(--teal); outline: none; transform: translateY(-2px); }
.home-downloads strong, .home-downloads span { display: block; }
.home-downloads strong { color: var(--teal-dark); font-size: .9rem; }
.home-downloads span { margin-top: .18rem; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.home-release-note { grid-column: 1 / -1; margin-top: -.55rem; color: var(--muted); font-size: .64rem; }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: white; box-shadow: 0 12px 34px rgba(24,57,53,.06); }
.stat-card { min-width: 0; padding: 1.2rem 1rem; border-right: 1px solid var(--line); }
.stat-card:last-child { border-right: 0; }
.stat-card span { display: block; color: var(--muted); font-size: .73rem; }
.stat-card strong { display: block; margin-top: .2rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 500; }
.stat-primary { color: white; background: var(--teal); }
.stat-primary span { color: rgba(255,255,255,.75); }

.explorer { margin: 5.5rem 0 6rem; }
.explorer-page-shell { min-height: calc(100vh - 210px); margin-top: 0; padding-top: clamp(3.5rem,7vw,6.5rem); }
.explorer-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.explorer-heading h1, .explorer-heading h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.15rem); font-weight: 500; }
.home-return-link { display: inline-flex; align-items: center; min-height: 40px; color: var(--teal-dark); font-size: .8rem; font-weight: 800; text-decoration: none; }
.home-return-link:hover { text-decoration: underline; text-underline-offset: 3px; }
#result-summary { margin: 0 0 .3rem; color: var(--muted); font-size: .85rem; }
.search-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; margin-top: 1.5rem; }
.search-box { display: flex; align-items: center; gap: .8rem; min-height: 52px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 12px; background: white; }
.search-box:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,107,99,.12); }
.search-box svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.button-primary, .button-secondary { min-height: 44px; padding: .65rem 1.05rem; border-radius: 10px; font-weight: 750; cursor: pointer; }
.button-primary { border: 1px solid var(--teal); color: white; background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary { border: 1px solid var(--line); background: white; }
.button-secondary:hover { border-color: var(--teal); color: var(--teal-dark); }

.resource-tabs { display: flex; gap: .25rem; margin-top: 1.5rem; padding-bottom: .5rem; overflow-x: auto; border-bottom: 1px solid var(--line); }
.resource-tabs button { flex: 0 0 auto; padding: .6rem .78rem; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.resource-tabs button[aria-selected="true"] { color: var(--teal-dark); background: var(--teal-pale); font-weight: 750; }
.evidence-subnav { display: flex; align-items: center; gap: .3rem; margin-top: 1.25rem; padding: .45rem; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.evidence-subnav > span { padding: 0 .55rem; color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.evidence-subnav button { padding: .52rem .72rem; border: 0; border-radius: 7px; color: var(--muted); background: transparent; cursor: pointer; }
.evidence-subnav button.is-active { color: var(--teal-dark); background: white; box-shadow: 0 1px 4px rgba(20,43,42,.08); font-weight: 800; }
.filters { display: flex; flex-wrap: wrap; gap: .7rem; min-height: 62px; padding: 1rem 0; }
.filter-field { display: flex; align-items: center; gap: .5rem; }
.filter-field label { color: var(--muted); font-size: .78rem; font-weight: 700; }
.filter-field select { max-width: 230px; padding: .52rem 2.2rem .52rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); }

.results { display: grid; gap: .7rem; min-height: 280px; }
.result-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; width: 100%; padding: 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.88); text-align: left; cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.result-card:hover, .result-card:focus-visible { transform: translateY(-2px); border-color: #95bbb5; box-shadow: 0 10px 22px rgba(24,57,53,.08); outline: none; }
.result-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; }
.result-card .subtitle { margin: .28rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.card-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .62rem; }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: .2rem .5rem; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .7rem; font-weight: 700; }
.tag-evidence { color: var(--teal-dark); background: var(--teal-pale); }
.tag-effect { color: var(--amber); background: var(--amber-pale); }
.record-id { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .7rem; }
.card-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--teal); font-size: 1.25rem; }
.empty-state { padding: 3rem 1.5rem; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; background: white; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.pagination span { min-width: 120px; color: var(--muted); font-size: .82rem; text-align: center; }

.loading-grid { display: grid; gap: .7rem; }
.loading-grid i { height: 92px; border-radius: 12px; background: linear-gradient(90deg, #edf2f0 20%, #f8faf9 45%, #edf2f0 70%); background-size: 250% 100%; animation: shimmer 1.3s infinite linear; }
@keyframes shimmer { to { background-position: -250% 0; } }

dialog { width: min(1180px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: 18px; color: var(--ink); background: white; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(10,31,29,.58); backdrop-filter: blur(4px); }
.dialog-shell { position: relative; overflow-x: hidden; padding: clamp(1.4rem, 4vw, 2.8rem); }
#record-detail { min-width: 0; overflow-x: hidden; }
.dialog-close { position: sticky; top: 0; z-index: 2; float: right; display: grid; place-items: center; width: 38px; height: 38px; margin: -1rem -1rem 0 0; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 1.5rem; cursor: pointer; }
.detail-kicker { margin: 0 0 .5rem; color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.detail-title { max-width: 760px; margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 500; line-height: 1.08; }
.detail-subtitle { margin: .8rem 0 0; color: var(--muted); line-height: 1.55; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1.5rem; }
.detail-block { padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.detail-block.is-wide { grid-column: 1 / -1; }
.detail-block h3 { margin: 0 0 .45rem; font-family: inherit; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.detail-block p { margin: 0; line-height: 1.6; }
.detail-list { display: grid; gap: .55rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.detail-list li { border-left: 3px solid var(--teal-pale); background: white; }
.detail-list strong { display: block; font-size: .88rem; }
.detail-list small { display: block; margin-top: .15rem; color: var(--muted); font-size: .77rem; line-height: 1.4; }
.related-record { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; padding: .72rem .82rem; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.related-record:hover, .related-record:focus-visible { background: var(--teal-pale); outline: none; }
.related-record b { color: var(--teal); font-size: 1.25rem; }
.key-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; margin-top: 1.5rem; }
.key-value { padding-top: .55rem; border-top: 1px solid var(--line); }
.key-value dt { color: var(--muted); font-size: .7rem; font-weight: 750; text-transform: uppercase; }
.key-value dd { margin: .25rem 0 0; font-size: .86rem; overflow-wrap: anywhere; }

.advanced-panel { margin: 1rem 0; border: 1px solid var(--line); border-radius: 12px; background: white; }
.advanced-panel > summary { padding: .85rem 1rem; color: var(--teal-dark); font-weight: 750; cursor: pointer; }
.advanced-panel .filters { padding: .2rem 1rem 1rem; }
.filter-field { flex-direction: column; align-items: flex-start; }
.filter-field span { color: var(--muted); font-size: .72rem; font-weight: 750; }
.download-strip, .detail-downloads { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding: .75rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.download-strip a, .detail-downloads a { padding: .35rem .55rem; border-radius: 6px; color: var(--teal-dark); background: var(--teal-pale); font-weight: 750; text-decoration: none; }
.filter-panel { margin: 1rem 0 1.4rem; padding: .75rem 0; border-block: 1px solid var(--line); background: transparent; }
.filter-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.filter-toolbar > div:first-child { display: flex; align-items: baseline; gap: .7rem; }
.filter-toolbar strong { font-size: .9rem; }
.filter-toolbar #result-summary { margin: 0; }
.filter-actions { display: flex; align-items: center; gap: .5rem; }
.more-filters { min-height: 36px; padding: .42rem .7rem; font-size: .76rem; }
.core-filters, .advanced-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); min-height: 0; padding: .75rem 0 0; }
.advanced-filters { margin-top: .75rem; padding-top: .9rem; border-top: 1px dashed var(--line); }
.filter-field select { width: 100%; max-width: none; }
.download-menu { position: relative; }
.download-menu > summary { min-height: 36px; padding: .48rem .72rem; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--teal-dark); font-size: .76rem; font-weight: 800; cursor: pointer; list-style: none; }
.download-menu > summary::-webkit-details-marker { display: none; }
.download-menu[open] > summary { border-color: var(--teal); background: var(--teal-pale); }
.download-menu .download-strip { position: absolute; right: 0; top: calc(100% + .45rem); z-index: 8; width: max-content; max-width: min(420px, 90vw); padding: .65rem; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: 0 12px 28px rgba(24,57,53,.14); }
.active-filter-row { display: flex; justify-content: space-between; align-items: center; gap: .7rem; margin-top: .8rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-chip { padding: .34rem .52rem; border: 1px solid #b7d5d0; border-radius: 999px; color: var(--teal-dark); background: var(--teal-pale); font-size: .7rem; cursor: pointer; }
.filter-chip span { color: var(--muted); font-weight: 700; }
.filter-chip b { margin-left: .25rem; font-size: .9rem; }
.clear-filters { flex: 0 0 auto; padding: .3rem .1rem; border: 0; color: var(--teal-dark); background: transparent; font-size: .73rem; font-weight: 800; cursor: pointer; }
.synthesis-empty-state { padding: clamp(2.4rem, 6vw, 5rem); }
.synthesis-empty-state .empty-state-mark { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 1rem; border-radius: 14px; color: white; background: var(--teal); font-family: Georgia, serif; font-size: 1.6rem; }
.synthesis-empty-state strong { display: block; color: var(--ink); font-family: Georgia, serif; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 500; }
.synthesis-empty-state p { max-width: 620px; margin: .8rem auto 1.2rem; line-height: 1.6; }
.detail-downloads { margin-top: 1rem; padding-left: 0; border-top: 0; }
.record-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .38rem; margin: 0 3rem .8rem 0; color: var(--muted); font-size: .72rem; }
.record-breadcrumb button { padding: 0; border: 0; color: var(--teal-dark); background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.record-breadcrumb button:hover { text-decoration: underline; text-underline-offset: .18rem; }
.record-breadcrumb [aria-current="page"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.concept-header { padding: .25rem 3rem 1rem 0; }
.species-selector { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: 1rem; }
.species-selector > span { margin-right: .2rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.species-selector button { padding: .42rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: white; cursor: pointer; }
.species-selector button.is-active { border-color: var(--teal); color: white; background: var(--teal); }
.detail-tabs { position: sticky; top: -1px; z-index: 3; display: flex; flex-wrap: nowrap; gap: .25rem; margin: .8rem -1rem 0; padding: .7rem 1rem; overflow-x: auto; border-block: 1px solid var(--line); background: rgba(255,255,255,.97); }
.detail-tabs button { flex: 0 0 auto; padding: .5rem .65rem; border: 0; border-radius: 7px; color: var(--muted); background: transparent; cursor: pointer; }
.detail-tabs button.is-active { color: var(--teal-dark); background: var(--teal-pale); font-weight: 800; }
.detail-section { display: grid; gap: 1.2rem; margin-top: 1.3rem; }
.detail-section > section { padding: 1.15rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.detail-section h3 { margin: 0; font-size: 1.25rem; font-family: inherit; letter-spacing: -.02em; }
.overview-section { gap: 1rem; }
.overview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; min-width: 0; }
.overview-grid > section { min-width: 0; padding: 1.05rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.section-label { margin: 0 0 .38rem; color: var(--teal); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: .78rem; text-align: right; }
.synthesis { padding: clamp(1.15rem,3vw,1.65rem) !important; border: 1px solid rgba(15,107,99,.2) !important; border-left: 4px solid var(--teal) !important; background: linear-gradient(120deg, rgba(220,239,235,.85), white 68%) !important; }
.empty-synthesis { border-left-color: #94aaa6 !important; background: var(--soft) !important; }
.synthesis-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.synthesis-copy { max-width: 900px; margin-bottom: 0; font-size: 1rem; line-height: 1.62; }
.summary-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; margin-top: 1.1rem; }
.compact-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
.summary-metrics div { padding: .7rem; border: 1px solid rgba(15,107,99,.18); border-radius: 8px; background: rgba(255,255,255,.7); }
.summary-metrics span, .summary-metrics strong { display: block; }
.summary-metrics span { color: var(--muted); font-size: .68rem; font-weight: 750; text-transform: uppercase; }
.summary-metrics strong { margin-top: .2rem; font-size: .84rem; }
.limitations { color: var(--muted); }
.count-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.count-row span { padding: .32rem .55rem; border-radius: 999px; background: white; font-size: .72rem; font-weight: 750; }
.text-button { width: fit-content; padding: .25rem 0; border: 0; color: var(--teal-dark); background: transparent; font-size: .76rem; font-weight: 800; cursor: pointer; }
.text-button:hover { text-decoration: underline; }
.profile-strip { display: grid; gap: .3rem; margin-top: .8rem; }
.profile-strip div { display: flex; justify-content: space-between; gap: 1rem; min-width: 0; padding: .52rem .65rem; border-left: 3px solid var(--teal); border-radius: 4px; background: white; text-align: left; }
.profile-strip span, .profile-strip strong { display: block; }
.profile-strip span { color: var(--muted); font-size: .68rem; line-height: 1.3; }
.profile-strip strong { margin-top: 0; color: var(--teal); font-size: .75rem; white-space: nowrap; }
.profile-details { margin-top: .65rem; }
.profile-details > summary, .claim-details > summary, .configuration-card details > summary, .experiment-list details > summary, .event-identity-list details > summary { color: var(--teal-dark); font-size: .75rem; font-weight: 800; cursor: pointer; }
.profile-detail-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .4rem; margin-top: .6rem; }
.profile-detail-list div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .2rem .5rem; padding: .45rem .55rem; background: white; }
.profile-detail-list .no-evidence { opacity: .55; }
.profile-detail-list span { font-size: .72rem; }
.profile-detail-list strong { color: var(--teal-dark); font-size: .72rem; }
.profile-detail-list small { grid-column: 1 / -1; color: var(--muted); }
.evidence-sentence { margin: .85rem 0 .35rem; font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.5; }
.snapshot-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .45rem; margin-top: .7rem; }
.snapshot-grid div { min-width: 0; padding: .55rem; border-left: 2px solid var(--teal-pale); background: white; }
.snapshot-grid strong, .snapshot-grid span { display: block; overflow-wrap: anywhere; }
.snapshot-grid strong { font-size: .9rem; }
.snapshot-grid span { margin-top: .1rem; color: var(--muted); font-size: .67rem; }
.deep-link-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.deep-link-row .button-primary, .deep-link-row .button-secondary { min-height: 38px; padding: .45rem .65rem; font-size: .72rem; }
.caveats ul { margin: .75rem 0; padding-left: 1.15rem; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.caveats li + li { margin-top: .35rem; }
.identity-list { display: grid; gap: .45rem; margin-top: .8rem; }
.identity-list article { min-width: 0; padding: .7rem .75rem; border: 1px solid var(--line); border-radius: 8px; background: white; }
.gene-identity-list article { display: grid; grid-template-columns: 100px 105px 1fr 1.2fr; gap: .65rem; align-items: center; font-size: .78rem; }
.gene-identity-list article > span:last-child { color: var(--muted); }
.event-identity-list article { display: grid; grid-template-columns: 145px minmax(0,1fr) auto; gap: .65rem; align-items: start; }
.identity-primary { display: grid; gap: .25rem; }
.event-identity-list article > dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .5rem; margin: 0; }
.event-identity-list dl div { min-width: 0; }
.event-identity-list dt { color: var(--muted); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.event-identity-list dd { margin: .15rem 0 0; overflow-wrap: anywhere; font-size: .75rem; }
.event-identity-list article > details { grid-column: 2 / -1; }
.event-identity-list article > details dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; margin-top: .6rem; }
.event-identity-list.is-compact { grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); }
.event-identity-list.is-compact article { display: block; }
.event-identity-list.is-compact .identity-primary { display: flex; justify-content: space-between; gap: .6rem; }
.event-identity-list.is-compact article > dl { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: .6rem; }
.event-identity-list.is-compact .text-button { margin-top: .55rem; }
.annotation-component-list { display: grid; gap: .55rem; margin-top: .65rem; }
.annotation-component-list article { display: block; padding: .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.annotation-component-list .identity-primary { display: flex; justify-content: space-between; gap: .75rem; }
.annotation-component-list .identity-primary span { color: var(--muted); font-size: .7rem; }
.annotation-component-list dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; margin: .6rem 0 0; }
.annotation-component-list dt { color: var(--muted); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.annotation-component-list dd { margin: .14rem 0 0; overflow-wrap: anywhere; font-size: .72rem; }
.gene-highlights { padding: 1.05rem !important; }
.highlight-columns { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: .8rem; margin-top: .8rem; }
.highlight-columns > div { min-width: 0; padding: .75rem; border: 1px solid var(--line); border-radius: 9px; background: white; }
.highlight-columns h4 { margin: 0 0 .55rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.mini-record { display: block; width: 100%; padding: .45rem 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.mini-record strong, .mini-record small { display: block; }
.mini-record small { margin-top: .15rem; color: var(--muted); }
.theme-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.theme-tags button, .theme-tags span { padding: .32rem .48rem; border: 0; border-radius: 999px; color: var(--teal-dark); background: var(--teal-pale); font-size: .7rem; }
.theme-tags button { cursor: pointer; }
.theme-card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: .6rem; margin-top: 1rem; }
.theme-card-grid article { padding: .75rem; border: 1px solid var(--line); border-radius: 8px; background: white; }
.theme-card-grid span, .theme-card-grid strong, .theme-card-grid small { display: block; }
.theme-card-grid strong { margin-top: .25rem; color: var(--teal-dark); }
.theme-card-grid small { margin-top: .15rem; color: var(--muted); }
.profile-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .55rem; margin-top: 1rem; }
.profile-item { padding: .7rem; border: 1px solid var(--line); border-radius: 8px; background: white; }
.profile-item span, .profile-item strong, .profile-item small { display: block; }
.profile-item span { min-height: 2.1em; color: var(--muted); font-size: .72rem; }
.profile-item strong { margin-top: .35rem; color: var(--teal-dark); font-size: .86rem; }
.profile-item strong[data-state="None curated"] { color: var(--muted); }
.profile-item small { margin-top: .15rem; color: var(--muted); font-size: .68rem; }
.species-evidence-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; margin-top: 1rem; }
.species-evidence-grid > div { padding: .85rem; border-left: 3px solid var(--teal); background: white; }
.species-evidence-grid span, .species-evidence-grid strong, .species-evidence-grid small { display: block; }
.species-evidence-grid span { color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.species-evidence-grid strong { margin-top: .25rem; }
.species-evidence-grid small { margin-top: .25rem; color: var(--muted); }
.event-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; margin-top: 1rem; }
.event-card { padding: .9rem; border: 1px solid var(--line); border-radius: 10px; background: white; text-align: left; cursor: pointer; }
.event-card:hover { border-color: var(--teal); }
.event-card h4 { margin: .32rem 0; font-size: .98rem; }
.event-card p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.event-card.is-unmapped { border-style: dashed; }
.subsection-title { margin: 1.4rem 0 0; }
.muted { color: var(--muted); font-size: .8rem; }
.evidence-badge { display: inline-flex; margin: .1rem .2rem .1rem 0; padding: .25rem .45rem; border-radius: 999px; color: var(--teal-dark); background: var(--teal-pale); font-size: .68rem; font-weight: 800; }
.evidence-badge.is-null { color: #53646f; background: #e8edf0; }
.evidence-badge.is-conflict { color: #7d4807; background: var(--amber-pale); }
.compound-badge { display: inline-flex; margin-top: .35rem; padding: .25rem .45rem; border-radius: 5px; color: #7d4807; background: var(--amber-pale); font-size: .67rem; font-weight: 850; }
.evidence-disclosure { border: 1px solid var(--line); border-radius: 10px; background: white; }
.evidence-disclosure > summary { padding: .8rem; color: var(--teal-dark); font-weight: 800; cursor: pointer; }
.evidence-disclosure > summary span { margin-left: .5rem; color: var(--muted); font-weight: 600; }
.table-tools { display: flex; flex-wrap: wrap; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); }
.table-tools input, .table-tools select { min-height: 40px; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 7px; background: white; }
.table-tools input { flex: 1 1 280px; }
.table-scroll { width: 100%; overflow: auto; }
.evidence-table, .simple-table { width: 100%; border-collapse: collapse; font-size: .74rem; }
.evidence-table { min-width: 1500px; }
.simple-table { min-width: 850px; margin-top: 1rem; }
.evidence-table th, .evidence-table td, .simple-table th, .simple-table td { padding: .62rem; border-top: 1px solid var(--line); vertical-align: top; text-align: left; line-height: 1.45; }
.evidence-table th, .simple-table th { position: sticky; top: 0; background: var(--soft); color: var(--muted); font-size: .67rem; text-transform: uppercase; }
.evidence-table td small, .inline-link small { display: block; margin-top: .2rem; color: var(--muted); font-size: .68rem; }
.inline-link { padding: 0; border: 0; color: var(--teal-dark); background: transparent; text-align: left; cursor: pointer; }
.inline-link:hover { text-decoration: underline; }
.config-stack { display: grid; gap: .25rem; }
.evidence-list-shell { min-width: 0; margin-top: 1rem; }
.evidence-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .7rem; }
.evidence-tools input, .evidence-tools select { min-height: 40px; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 8px; background: white; }
.evidence-tools input { flex: 1 1 280px; min-width: 0; }
.evidence-list { display: grid; gap: .65rem; min-width: 0; }
.evidence-card { min-width: 0; padding: .85rem; border: 1px solid var(--line); border-radius: 10px; background: white; }
.evidence-card > header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.claim-link strong, .claim-link small { display: block; }
.claim-finding { margin: .65rem 0; font-size: .9rem; line-height: 1.52; }
.claim-summary-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr 1fr; gap: .5rem; margin: 0; }
.claim-summary-grid div { min-width: 0; padding: .55rem; border-radius: 7px; background: var(--soft); }
.claim-summary-grid dt, .claim-details dt { color: var(--muted); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.claim-summary-grid dd, .claim-details dd { margin: .15rem 0 0; overflow-wrap: anywhere; font-size: .75rem; line-height: 1.4; }
.claim-details { margin-top: .65rem; }
.claim-details > dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem .8rem; margin: .65rem 0 0; padding: .7rem; border-top: 1px solid var(--line); background: var(--paper); }
.claim-details .compound-badge { display: flex; width: fit-content; }
.configuration-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; margin-top: 1rem; }
.configuration-card { min-width: 0; padding: .85rem; border: 1px solid var(--line); border-radius: 10px; background: white; }
.configuration-card > header { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; }
.configuration-card > header strong, .configuration-card > header .record-id { display: block; }
.record-meta { width: fit-content; margin-top: .8rem; }
.record-meta > summary { color: var(--muted); font-size: .72rem; font-weight: 750; cursor: pointer; }
.record-meta > p { display: flex; gap: .6rem; align-items: center; margin: .65rem 0 0; color: var(--muted); font-size: .72rem; }
.record-meta code { color: var(--ink); }
.record-meta .detail-downloads { margin-top: .25rem; padding: .4rem 0 0; }
.scope-message { padding: .6rem .7rem; border-radius: 7px; background: rgba(255,255,255,.7); font-size: .82rem; }
.additional-evidence { margin: -.35rem .25rem 0; }
.configuration-card > dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; margin: .7rem 0; }
.configuration-card dt { color: var(--muted); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.configuration-card dd { margin: .15rem 0 0; overflow-wrap: anywhere; font-size: .76rem; }
.configuration-card details p { margin: .45rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.study-browser { display: grid; gap: 1rem; margin-top: 1rem; }
.study-tools { display: grid; grid-template-columns: repeat(3,minmax(140px,1fr)) auto; gap: .6rem; align-items: end; padding: .7rem; border-radius: 9px; background: var(--soft); }
.study-tools label { display: grid; gap: .25rem; color: var(--muted); font-size: .68rem; font-weight: 800; }
.study-tools select { min-width: 0; min-height: 38px; padding: .45rem .55rem; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); }
.study-tools > span { padding: .55rem .65rem; color: var(--teal-dark); font-size: .78rem; font-weight: 850; white-space: nowrap; }
.study-event-group { min-width: 0; }
.study-event-group > header { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.study-event-group > header h4 { margin: 0; }
.study-event-group > header span { color: var(--muted); font-size: .72rem; }
.experiment-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin-top: .65rem; }
.experiment-list article { min-width: 0; padding: .85rem; border: 1px solid var(--line); border-radius: 9px; background: white; }
.study-card-header { display: flex; justify-content: space-between; gap: .7rem; align-items: flex-start; }
.study-card-header > div { min-width: 0; }
.study-card-header small { display: block; margin-top: .25rem; }
.experiment-list p { margin: .5rem 0 .25rem; font-size: .84rem; }
.experiment-list small { color: var(--muted); }
.experiment-list details { margin-top: .65rem; }
.experiment-list details p { color: var(--muted); font-size: .76rem; }
.study-findings { display: grid; gap: .5rem; margin: .75rem 0; padding: 0; list-style: none; }
.study-findings li { padding: .55rem .6rem; border-radius: 7px; background: var(--paper); }
.study-findings li > span { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.study-essentials { display: grid; grid-template-columns: .85fr .65fr 1.5fr; gap: .45rem; margin: .7rem 0 0; }
.study-essentials > div { min-width: 0; padding: .45rem; border-radius: 7px; background: var(--soft); }
.study-essentials dt { color: var(--muted); font-size: .6rem; font-weight: 850; text-transform: uppercase; }
.study-essentials dd { margin: .18rem 0 0; overflow-wrap: anywhere; font-size: .72rem; line-height: 1.4; }
.study-essentials dd > small { display: block; margin-top: .3rem; }
.source-links { display: inline-flex; gap: .35rem; margin-left: .4rem; }
.source-links a { font-size: .7rem; font-weight: 800; }
.study-detail-findings { display: grid; gap: .6rem; }
.study-detail-findings article { padding: .75rem; border: 1px solid var(--line); border-radius: 9px; background: white; }
.study-detail-findings article > div { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.study-detail-findings article p { margin: .5rem 0 .2rem; }
.identity-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; margin-top: 1rem; }
.identity-grid article { padding: .9rem; border: 1px solid var(--line); border-radius: 9px; background: white; }
.identity-grid article > span { color: var(--teal); font-size: .7rem; font-weight: 850; text-transform: uppercase; }
.identity-grid h4 { margin: .35rem 0; }
.identity-grid dl { margin: 0; }
.identity-grid dl div { padding: .42rem 0; border-top: 1px solid var(--line); }
.identity-grid dt { color: var(--muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.identity-grid dd { margin: .15rem 0 0; font-size: .78rem; overflow-wrap: anywhere; }
.network-list { display: grid; gap: .5rem; margin-top: 1rem; }
.network-list > div { display: grid; grid-template-columns: minmax(120px,auto) auto minmax(180px,1fr); gap: .55rem; align-items: center; padding: .75rem; border: 1px solid var(--line); border-radius: 8px; background: white; }
.network-list small { grid-column: 1 / -1; color: var(--muted); }
.edge-type { padding: .25rem .45rem; border-radius: 999px; color: var(--teal-dark); background: var(--teal-pale); font-size: .68rem; font-weight: 800; text-align: center; }
.transcriptomic-context { display: grid; gap: 1rem; }
.context-boundary { display: grid; gap: .25rem; padding: .8rem .9rem; border: 1px solid #d4a85c; border-left: 4px solid var(--amber); border-radius: 8px; background: var(--amber-pale); }
.context-boundary strong { color: #70420a; font-size: .86rem; }
.metric-guide { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: .65rem; }
.metric-guide article { padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); }
.metric-guide strong { display: inline-block; margin-bottom: .3rem; color: var(--teal-dark); font-size: .74rem; letter-spacing: .04em; }
.metric-guide p { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.48; }
.metric-guide b { color: var(--ink); }
.atlas-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.atlas-card { min-width: 0; padding: .9rem; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 10px; background: white; }
.atlas-card.is-unmatched { border-top-color: #87949b; }
.atlas-card > header { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; }
.atlas-card > header span, .atlas-card > header h4 { display: block; }
.atlas-card > header span { color: var(--muted); font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.atlas-card > header h4 { margin: .25rem 0 0; font-size: .9rem; line-height: 1.35; }
.atlas-card > header > strong { flex: 0 0 auto; padding: .25rem .45rem; border-radius: 999px; color: var(--teal-dark); background: var(--teal-pale); font-size: .68rem; }
.atlas-card.is-unmatched > header > strong { color: #4d5c64; background: #e8edef; }
.atlas-card > dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; margin: .75rem 0; }
.atlas-card > dl div { min-width: 0; padding: .5rem; border-radius: 7px; background: var(--soft); }
.atlas-card dt { color: var(--muted); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.atlas-card dd { margin: .15rem 0 0; overflow-wrap: anywhere; font-size: .73rem; line-height: 1.35; }
.atlas-mapping-note { margin: .7rem 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.atlas-preview { margin-top: .75rem; border-top: 1px solid var(--line); }
.atlas-preview > div { display: flex; justify-content: space-between; gap: .8rem; padding: .65rem 0 .35rem; }
.atlas-preview > div strong { font-size: .76rem; }
.atlas-preview > div span { color: var(--muted); font-size: .66rem; text-align: right; }
.atlas-preview ul { margin: 0; padding: 0; list-style: none; }
.atlas-preview li { display: flex; justify-content: space-between; gap: .75rem; padding: .42rem 0; border-top: 1px solid var(--line); font-size: .72rem; }
.atlas-preview li div { min-width: 0; }
.atlas-preview li strong, .atlas-preview li small { display: block; overflow-wrap: anywhere; }
.atlas-preview li small { margin-top: .12rem; color: var(--muted); }
.atlas-preview li .atlas-component { margin-top: .24rem; color: var(--teal-dark); font-weight: 750; }
.atlas-preview li > span { flex: 0 0 auto; color: var(--teal-dark); font-variant-numeric: tabular-nums; }
.atlas-preview li b { color: var(--muted); font-size: .62rem; }
.atlas-card > details { margin-top: .75rem; }
.atlas-card > details > summary { color: var(--teal-dark); font-size: .72rem; font-weight: 800; cursor: pointer; }
.atlas-card > details p { margin: .4rem 0 0; color: var(--muted); font-size: .7rem; overflow-wrap: anywhere; }
.atlas-card > .atlas-audit { padding-top: .7rem; border-top: 1px solid var(--line); }
.atlas-availability { grid-column: 1 / -1; padding: 1rem; border: 1px solid var(--line); border-left: 4px solid #87949b; border-radius: 10px; background: white; }
.atlas-availability > header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.atlas-availability h4 { margin: .2rem 0 0; font-size: 1rem; }
.atlas-availability > header > strong { flex: 0 0 auto; padding: .28rem .5rem; border-radius: 999px; color: #4d5c64; background: #e8edef; font-size: .68rem; }
.atlas-availability > p { max-width: 850px; margin: .75rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.atlas-availability .atlas-datasets { color: var(--ink); }
.atlas-availability > details { margin-top: .85rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.atlas-availability > details > summary { color: var(--teal-dark); font-size: .75rem; font-weight: 800; cursor: pointer; }
.atlas-review-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; margin-top: .75rem; }
.atlas-review-list article { min-width: 0; padding: .75rem; border-radius: 8px; background: var(--soft); }
.atlas-review-list header { display: flex; justify-content: space-between; gap: .7rem; align-items: flex-start; }
.atlas-review-list header span { color: var(--muted); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.atlas-review-list h5 { margin: .2rem 0 0; font-size: .8rem; line-height: 1.35; }
.atlas-review-list header > strong { color: #4d5c64; font-size: .65rem; }
.atlas-review-list dl { margin: .65rem 0 0; }
.atlas-review-list dl div { padding: .45rem 0; border-top: 1px solid var(--line); }
.atlas-review-list dt { color: var(--muted); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.atlas-review-list dd { margin: .15rem 0 0; overflow-wrap: anywhere; font-size: .7rem; line-height: 1.45; }
.publication-list, .related-grid { display: grid; gap: .5rem; margin-top: 1rem; }
.publication-list button, .related-grid button { padding: .75rem; border: 1px solid var(--line); border-radius: 8px; background: white; text-align: left; cursor: pointer; }
.publication-list span, .publication-list strong, .publication-list small, .related-grid strong, .related-grid small { display: block; }
.publication-list span, .publication-list small, .related-grid small { color: var(--muted); font-size: .72rem; }
.publication-list strong { margin: .22rem 0; }
.record-overview { margin-block: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: white; }
.record-overview > h3 { margin: .2rem 0 .9rem; }
.record-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem 1rem; margin: 0; }
.record-facts > div { min-width: 0; padding: .7rem; border-radius: 8px; background: var(--paper); }
.record-facts dt { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.record-facts dd { margin: .25rem 0 0; overflow-wrap: anywhere; }
.record-overview > details { margin-top: .9rem; }
.record-overview > details > summary { color: var(--teal-dark); font-weight: 800; cursor: pointer; }
.syngo-gene-panel { padding: 1rem; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; background: white; }
.syngo-gene-panel.is-unmapped { border-left-color: #87949b; }
.syngo-gene-panel.is-unmapped p:last-child { margin: .35rem 0 0; color: var(--muted); line-height: 1.5; }
.syngo-panel-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.syngo-panel-heading h3 { margin: 0; }
.syngo-panel-heading > span { flex: 0 0 auto; padding: .3rem .5rem; border-radius: 999px; color: var(--teal-dark); background: var(--teal-pale); font-size: .68rem; font-weight: 800; }
.syngo-projection-note { margin: .8rem 0 0; padding: .65rem .75rem; border-radius: 8px; background: #fff8e8; color: #6b5421; font-size: .76rem; line-height: 1.5; }
.syngo-gene-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; margin-top: .85rem; }
.syngo-gene-summary > div { padding: .7rem; border-radius: 8px; background: var(--soft); }
.syngo-gene-summary span { color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.syngo-gene-summary p { margin: .3rem 0 0; font-size: .82rem; line-height: 1.45; }
.syngo-gene-panel > details { margin-top: .8rem; }
.syngo-gene-panel > details > summary { color: var(--teal-dark); font-size: .76rem; font-weight: 800; cursor: pointer; }
.syngo-gene-panel ul { margin: .7rem 0 0; padding: 0; list-style: none; }
.syngo-gene-panel li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.syngo-gene-panel li strong, .syngo-gene-panel li span { display: block; }
.syngo-gene-panel li span { margin-top: .1rem; color: var(--muted); font-size: .68rem; }
.syngo-gene-panel li small { text-align: right; }
.syngo-gene-panel a { color: var(--teal-dark); }
.scientific-limitation { margin: .9rem 0 0; padding: .75rem; border-left: 3px solid var(--amber); background: #fff9eb; }
.empty-state.compact { padding: 1.3rem; }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem clamp(1rem, 4vw, 4rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
footer strong, footer span { display: block; }
footer strong { color: var(--ink); }
footer p { max-width: 620px; margin: .6rem 0 0; text-align: left; line-height: 1.5; }
.release-details { max-width: 640px; text-align: right; }
.release-details > summary { color: var(--teal-dark); font-weight: 800; cursor: pointer; }
.release-details p { text-align: right; }
.release-details small { display: block; margin-top: .45rem; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .intro { padding-top: 2rem; }
  .home-reader-guide, .home-release { grid-template-columns: 1fr; }
  .headline-card { flex-basis: calc((100% - 1rem) / 2); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat-card { border-bottom: 1px solid var(--line); }
  .stat-card:nth-child(3n) { border-right: 0; }
  .summary-metrics, .profile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .identity-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-grid { grid-template-columns: 1fr; }
  .syngo-overview-heading { display: block; }
  .syngo-overview-heading > p { margin-top: .7rem; }
  .highlight-columns { grid-template-columns: 1fr; }
  .event-identity-list article { grid-template-columns: 130px minmax(0,1fr); }
  .event-identity-list article > .text-button { grid-column: 2; }
  .claim-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
  main { width: min(100% - 1.2rem, 1240px); }
  .site-header { padding: .65rem .8rem; }
  .brand small { display: none; }
  .about-link { font-size: .7rem; }
  .intro { padding-top: 1.75rem; }
  h1 { font-size: 2.55rem; }
  .hero-shell { padding: 0 .5rem 1rem; }
  .hero-shell::before, .hero-shell::after { inset-inline: -.5rem; }
  .intro h1 { font-size: clamp(2.7rem,10.6vw,3.8rem); }
  .intro-copy { margin-top: 1.4rem; }
  .hero-copy-break { display: none; }
  .hero-gene-search { grid-template-columns: 24px minmax(0,1fr); padding: .65rem; margin-top: 1.5rem; }
  .hero-search-icon { margin-left: .2rem; }
  .hero-gene-search .button-primary { grid-column: 1 / -1; width: 100%; }
  .home-reader-guide ol, .home-downloads { grid-template-columns: 1fr; }
  .home-reader-guide li { min-height: 0; }
  .headline-carousel { padding-top: 1.7rem; }
  .headline-carousel-heading { align-items: center; }
  .headline-carousel-heading h2 { font-size: 1.8rem; }
  .headline-carousel-controls button { width: 38px; height: 38px; }
  .headline-card { flex-basis: 100%; min-height: 270px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .stat-card:nth-child(2n) { border-right: 0; }
  .explorer { margin-top: 3.5rem; }
  .explorer-heading { display: block; }
  #result-summary { margin-top: .6rem; }
  .search-panel { grid-template-columns: 1fr; }
  .evidence-subnav { align-items: stretch; overflow-x: auto; }
  .evidence-subnav > span { display: none; }
  .filter-toolbar { align-items: flex-start; }
  .filter-toolbar > div:first-child { display: block; }
  .filter-actions { align-items: stretch; }
  .core-filters, .advanced-filters { grid-template-columns: 1fr; }
  .active-filter-row { align-items: flex-start; }
  .result-card { grid-template-columns: minmax(0, 1fr); }
  .card-arrow { display: none; }
  .detail-grid, .key-values { grid-template-columns: 1fr; }
  .summary-metrics, .profile-grid, .species-evidence-grid, .event-grid, .identity-grid, .configuration-grid, .experiment-list, .atlas-grid, .atlas-review-list, .study-tools, .study-essentials { grid-template-columns: 1fr; }
  .syngo-overview-groups, .syngo-gene-summary { grid-template-columns: 1fr; }
  .home-explore-cta { display: block; margin-bottom: 4rem; }
  .home-explore-cta .button-primary { width: 100%; margin-top: 1.25rem; }
  .home-release { margin-top: -1.5rem; margin-bottom: 4rem; }
  .syngo-panel-heading, .syngo-gene-panel li { display: block; }
  .syngo-panel-heading > span { display: inline-block; margin-top: .5rem; }
  .syngo-gene-panel li small { display: block; margin-top: .3rem; text-align: left; }
  dialog { width: 100%; max-height: 100vh; margin: 0; border-radius: 0; }
  .dialog-shell { padding: 1rem; }
  .concept-header { padding-right: 2.4rem; }
  .detail-tabs { margin-inline: -1rem; }
  .profile-strip { grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); }
  .snapshot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gene-identity-list article { grid-template-columns: 1fr 1fr; }
  .event-identity-list article { grid-template-columns: 1fr; }
  .event-identity-list article > dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .event-identity-list article > .text-button, .event-identity-list article > details { grid-column: 1; }
  .annotation-component-list dl { grid-template-columns: 1fr; }
  .claim-summary-grid, .claim-details > dl, .configuration-card > dl { grid-template-columns: 1fr; }
  .record-facts { grid-template-columns: 1fr; }
  .evidence-card > header, .configuration-card > header { display: block; }
  .evidence-card > header > div:last-child, .configuration-card > header .compound-badge { margin-top: .4rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: .5rem; text-align: left; }
  .atlas-card > dl { grid-template-columns: 1fr; }
  .atlas-preview > div, .atlas-preview li { display: block; }
  .atlas-preview > div span, .atlas-preview li > span { display: block; margin-top: .25rem; text-align: left; }
  footer { display: block; }
  footer p { margin-top: 1rem; text-align: left; }
  .release-details { margin-top: 1rem; text-align: left; }
  .release-details p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.experimental-contexts { margin-block: 1rem; padding: 1rem; overflow-wrap: anywhere; min-width: 0; }
.experimental-contexts > summary { cursor: pointer; font-weight: 650; }
.experimental-contexts > summary .muted { margin-left: .5rem; font-weight: 400; }
.experimental-contexts li { margin-block: .35rem; }
.experimental-contexts details { margin-top: .75rem; }

.record-guide { display: flex; align-items: flex-start; gap: .8rem; margin: 1rem 0 1.2rem; padding: .75rem .9rem; border: 1px solid #cfe1dc; border-radius: 9px; background: #f3f8f6; font-size: .78rem; line-height: 1.5; }
.record-guide strong { flex: 0 0 auto; color: var(--teal-dark); }
.record-guide span { color: var(--muted); }
.species-selector.is-static strong { padding: .4rem .65rem; border-radius: 999px; color: var(--teal-dark); background: var(--teal-pale); font-size: .78rem; }

.evidence-scale { margin: .85rem 0 1rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); }
.evidence-scale > summary { color: var(--teal-dark); font-size: .78rem; font-weight: 850; cursor: pointer; }
.evidence-scale-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; margin-top: .75rem; }
.evidence-scale-grid > div { padding: .65rem; border-radius: 7px; background: white; }
.evidence-scale-grid strong, .evidence-scale-grid span { display: block; }
.evidence-scale-grid strong { font-size: .75rem; }
.evidence-scale-grid span, .evidence-scale > p { margin-top: .25rem; color: var(--muted); font-size: .72rem; line-height: 1.45; }

.configuration-comparison { margin: 1rem 0; padding: .9rem; border: 1px solid #e0c99e; border-radius: 10px; background: #fffaf0; }
.configuration-comparison h4 { margin: .2rem 0 0; }
.configuration-lanes { display: grid; gap: .5rem; margin-top: .75rem; }
.configuration-lanes > div { display: grid; grid-template-columns: 1.6rem minmax(130px,.45fr) 1fr; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 8px; background: white; }
.configuration-lanes > div > span { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; color: white; background: var(--teal); font-size: .68rem; font-weight: 850; }
.configuration-lanes small { color: var(--muted); }
.study-reporting-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; margin-top: .65rem; }
.study-reporting-grid > div { min-width: 0; padding: .5rem; border-radius: 7px; background: var(--soft); }
.study-reporting-grid dt { color: var(--muted); font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.study-reporting-grid dd { margin: .18rem 0 0; overflow-wrap: anywhere; font-size: .74rem; line-height: 1.4; }

.atlas-actions { display: flex; justify-content: flex-end; margin-top: .7rem; }
.atlas-download { display: inline-flex; align-items: center; padding: .45rem .65rem; border: 1px solid var(--teal); border-radius: 999px; color: var(--teal-dark); font-size: .72rem; font-weight: 850; text-decoration: none; }
.atlas-download:hover { color: white; background: var(--teal); }

.citation-panel { padding: 1rem; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 10px; background: #f7faf9; }
.citation-panel h3 { margin: .2rem 0 0; }
.citation-text { font-family: Georgia, "Times New Roman", serif; font-size: 1rem; line-height: 1.55; }
.citation-source-details { margin-block: .8rem; }
.citation-source-details > summary { width: fit-content; color: var(--teal-dark); font-weight: 650; cursor: pointer; }
.citation-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; }
.citation-facts > div { min-width: 0; padding: .55rem; border-radius: 7px; background: white; }
.citation-facts dt { color: var(--muted); font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.citation-facts dd { margin: .18rem 0 0; overflow-wrap: anywhere; font-size: .75rem; }
.citation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: .8rem; }
.citation-actions a { padding: .48rem .65rem; border-radius: 999px; color: white; background: var(--teal); font-size: .73rem; font-weight: 850; text-decoration: none; }

.event-definition { border-left: 4px solid var(--teal); background: linear-gradient(135deg,#f2faf7 0%,#fff 72%); }
.event-definition-lead { max-width: 72ch; color: var(--ink); font-family: Georgia,"Times New Roman",serif; font-size: 1.05rem; line-height: 1.55; }
.scientific-limitation { display: flex; align-items: flex-start; gap: .65rem; }
.scientific-limitation strong { flex: 0 0 auto; }
.compound-callout { margin: .9rem 0; padding: .8rem .9rem; border: 1px solid #d9b86f; border-radius: 9px; color: #583f0a; background: #fff7e5; line-height: 1.45; }
.event-configuration-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: .6rem; margin-top: .9rem; }
.event-configuration-list button { min-width: 0; padding: .75rem; border: 1px solid var(--line); border-radius: 9px; text-align: left; background: white; cursor: pointer; }
.event-configuration-list button:hover { border-color: var(--teal); }
.event-configuration-list strong,.event-configuration-list span { display: block; overflow-wrap: anywhere; }
.event-configuration-list strong { color: var(--teal-dark); }
.event-configuration-list span { margin-top: .25rem; color: var(--muted); font-size: .75rem; }
.resolution-search { margin-top: .85rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.resolution-search > summary { color: var(--teal-dark); font-size: .78rem; font-weight: 850; cursor: pointer; }
.resolution-search dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem; }
.resolution-search dl > div { padding: .5rem; border-radius: 7px; background: rgba(255,255,255,.72); }
.resolution-search dt { color: var(--muted); font-size: .65rem; }
.resolution-search dd { margin: .15rem 0 0; font-weight: 800; }

@media (max-width: 600px) {
  .record-guide { display: block; }
  .record-guide span { display: block; margin-top: .25rem; }
  .evidence-scale-grid, .study-reporting-grid, .citation-facts { grid-template-columns: 1fr; }
  .configuration-lanes > div { grid-template-columns: 1.6rem 1fr; }
  .configuration-lanes small { grid-column: 2; }
  .scientific-limitation { display: block; }
  .scientific-limitation span { display: block; margin-top: .25rem; }
  .resolution-search dl { grid-template-columns: 1fr; }
}
/* M37: event navigation and publication-grouped experiment results. */
.study-browser { margin-top: 1.5rem; }
.study-browser .study-tools { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; align-items:end; }
.study-tools label { min-width:0; display:grid; gap:.4rem; font-weight:650; }
.study-tools select { width:100%; min-width:0; padding:.7rem; border:1px solid var(--line,#cbdcda); border-radius:.65rem; background:white; color:inherit; }
.study-active-filters { display:flex; flex-wrap:wrap; gap:.5rem; margin:.85rem 0; }
.study-active-filters button { padding:.4rem .7rem; background:#e8f3f0; border:1px solid #c8ded8; border-radius:2rem; color:#14564f; cursor:pointer; }
.study-event-overview { overflow:auto; border:1px solid #d2e2df; border-radius:1rem; }
.study-event-overview table { width:100%; border-collapse:collapse; font-size:.94rem; }
.study-event-overview caption { text-align:left; padding:1rem; font-weight:700; background:#edf5f3; }
.study-event-overview th,.study-event-overview td { padding:.6rem 1rem; text-align:left; border-bottom:1px solid #e2ece9; }
.study-event-overview th { color:#46635e; font-size:.82rem; }
.study-event-overview td:nth-child(n+3) { font-variant-numeric:tabular-nums; font-weight:700; }
.study-event-overview label { display:flex; gap:.7rem; align-items:center; cursor:pointer; }
.study-event-overview input { accent-color:#08776e; width:1.05rem; height:1.05rem; flex-shrink:0; }
.study-event-overview tr:has(input:checked) { background:#e3f2ed; }
.study-count-note { color:#657c77; font-size:.82rem; margin:.7rem 0 1.5rem; }
.study-result-count { padding:1rem 0; border-bottom:2px solid #135d55; }
.study-paper { margin:1.5rem 0 2rem; border:1px solid #d2e2df; border-radius:1rem; overflow:hidden; }
.study-paper>header { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; padding:1.2rem 1.4rem; background:#edf5f3; }
.study-paper>header>div { flex:1; min-width:220px; }
.study-paper>header p { margin:.4rem 0 0; font-size:.92rem; }
.study-paper>header>span { font-size:.85rem; }
.study-paper .experiment-list { display:block; }
.study-paper .study-result-card { border:0; border-radius:0; border-bottom:1px solid #dbe7e3; padding:1.3rem 1.5rem; background:white; }
.study-findings { margin:0 0 1rem; padding-left:1.2rem; }
.study-findings>li { margin-bottom:.9rem; }
.study-findings .inline-link { font-size:1.04rem; line-height:1.6; text-align:left; }
.study-tags { display:flex; gap:.4rem; flex-wrap:wrap; margin:.5rem 0; }
.study-result-card .study-essentials { display:grid; grid-template-columns:2fr 2fr 1fr; gap:1.2rem; margin:1rem 0; }
.study-result-card .study-essentials dd { margin:.3rem 0 0; line-height:1.5; }
.study-result-card dt { font-size:.78rem; text-transform:uppercase; letter-spacing:.07em; color:#5b746e; }
.study-locator,.study-reporting-line { font-size:.88rem; color:#4b655f; }
.study-result-card>details { margin-top:1rem; }
.study-result-card>details>summary,.study-more>summary { cursor:pointer; color:#17675c; font-weight:600; }
.study-more>summary { padding:1.1rem 1.5rem; background:#f7faf9; }
@media(max-width:760px) {
 .study-browser .study-tools { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .study-result-card .study-essentials { grid-template-columns:1fr; gap:.8rem; }
 .study-event-overview table,.study-event-overview tbody { display:block; }
 .study-event-overview thead { display:none; }
 .study-event-overview tr { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid #d2e2df; padding:.65rem; }
 .study-event-overview td { border:0; padding:.35rem; }
 .study-event-overview td:first-child { grid-column:1/-1; }
 .study-event-overview td:nth-child(3)::after { content:" experiments"; font-weight:400; }
 .study-event-overview td:nth-child(4)::after { content:" papers"; font-weight:400; }
 .study-paper .study-result-card { padding:1rem; }
}
.study-browser { display:block; min-width:0; }
.study-active-filters[hidden] { display:none; }
.study-event-overview { margin-top:1rem; }
.study-event-overview td:first-child { width:30%; }
.study-event-species-list { display:flex; flex-wrap:wrap; gap:.35rem; }
.study-event-overview .study-event-species { padding:.3rem .5rem; border:1px solid #d6e4df; border-radius:1rem; gap:.35rem; font-size:.78rem; }
.study-event-species:has(input:checked) { background:#cee8df; }
.study-event-overview .study-event-species input { width:.85rem; height:.85rem; }
.study-event-species strong { margin-left:.2rem; }
.study-result-card .study-essentials dd { font-size:.88rem; }
.study-browser .study-tools label { font-size:.82rem; }
@media(max-width:760px) {
 .study-event-overview caption { display:block; width:100%; box-sizing:border-box; }
 .study-event-overview td:first-child { width:auto; }
 .study-event-overview td:nth-child(2) { grid-column:1/-1; }
 .study-paper>header>div { min-width:0; flex-basis:100%; }
 .detail-tabs { max-width:100%; min-width:0; box-sizing:border-box; }
}
/* Dense study cards: preserve type size, remove stacked decorative padding. */
.study-paper { margin:.65rem 0 .85rem; }
.study-paper>header { padding:.5rem .8rem; gap:.5rem; }
.study-paper>header p { margin:.12rem 0 0; line-height:1.35; }
.study-paper .experiment-list { margin-top:0; }
.study-paper .study-result-card { padding:.5rem .8rem; }
.study-result-card .study-findings { margin:0; padding:0; gap:.35rem; }
.study-result-card .study-findings>li { margin:0; padding:0; background:transparent; }
.study-result-card .study-findings .inline-link { line-height:1.4; }
.study-result-card .study-tags { margin:.12rem 0; gap:.3rem; }
.study-result-card>.study-tags { margin:.12rem 0 .25rem; }
.study-result-card .study-essentials { grid-template-columns:1.2fr 1.2fr 1fr; margin:.3rem 0; gap:.7rem; align-items:start; }
.study-result-card .study-essentials>div { padding:.15rem 0; background:transparent; border-radius:0; }
.study-result-card .study-essentials dd { margin:.08rem 0 0; line-height:1.35; }
.study-result-card .study-locator,.study-result-card .study-reporting-line { display:inline-block; margin:.15rem .8rem .15rem 0; line-height:1.35; }
.study-result-card>details { margin-top:.2rem; }
.study-more>summary { padding:.55rem .8rem; }
@media(max-width:760px) {
 .study-paper .study-result-card { padding:.5rem .65rem; }
 .study-result-card .study-essentials { grid-template-columns:1fr; gap:.2rem; }
 .study-result-card .study-essentials>div { display:grid; grid-template-columns:6.4rem minmax(0,1fr); gap:.4rem; }
 .study-result-card .study-essentials dd { margin:0; }
}
/* Clearly separate adjacent experiments without adding vertical whitespace. */
.study-paper .study-result-card { border-bottom:0; }
.study-paper .study-result-card + .study-result-card,
.study-paper .study-more,
.study-paper .study-more .study-result-card {
 border-top:2px solid #598f86;
}

/* M39: distinguish event tests from related evidence, with compact comparisons. */
.study-relationship { margin:.1rem 0 .4rem; padding:.3rem .5rem; background:#f0f5f4; border-left:3px solid #598f86; font-size:.88rem; line-height:1.4; }
.comparison-table { width:100%; }
.comparison-table th,.comparison-table td { padding:.65rem .8rem; vertical-align:top; white-space:normal; }
.comparison-table tbody th { text-align:left; }
.event-configuration .scientific-limitation { margin:.6rem 0 .3rem; }
.event-findings,.summary-classifications { margin:.65rem 0; }
.event-findings>summary,.summary-classifications>summary { cursor:pointer; color:#17675c; font-weight:600; }
.atlas-context-label { color:#345e57; }
.record-breadcrumb { flex-wrap:wrap; }
.record-breadcrumb button { max-width:28rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media(max-width:760px) {
 .study-event-overview td:nth-child(3)::after { content:" linked experiments"; }
 .study-event-overview td:nth-child(4)::after { content:" papers"; }
 .study-event-overview td:nth-child(5)::after { content:" papers"; }
 .comparison-table { min-width:34rem; }
 .record-breadcrumb button { max-width:14rem; }
}

.detail-section > * { min-width:0; }
.comparison-table th,.comparison-table td { font-size:.88rem; }

.atlas-availability > header,.atlas-card > header { flex-wrap:wrap; }
.atlas-availability > header > strong,.atlas-card > header > strong { max-width:100%; box-sizing:border-box; }

@media(max-width:760px) {
 .comparison-table { min-width:0; }
 .comparison-table,.comparison-table tbody { display:block; }
 .comparison-table thead { display:none; }
 .comparison-table tbody tr { display:block; margin-bottom:.7rem; border:1px solid var(--line); }
 .comparison-table tbody th { display:block; padding:.5rem; background:var(--teal-pale); }
 .comparison-table tbody td { display:grid; grid-template-columns:1fr 1.2fr; gap:.5rem; padding:.5rem; }
 .comparison-table td::before { content:attr(data-label); font-size:.76rem; font-weight:700; color:var(--muted); }
}

/* M40: compact, finding-specific event attribution. */
.study-findings .study-relationship { list-style:none; padding:.25rem .5rem; margin:.3rem 0 0; }
.study-findings .study-relationship li { padding:0; margin:0; background:transparent; border-radius:0; }

/* M41: keep unmatched selections secondary to the result. */
.study-unmatched { margin:.2rem 0 0; font-size:.8rem; color:var(--muted); }
.study-unmatched ul { margin:.3rem 0; padding-left:1rem; }
.event-origin { padding:.5rem .7rem; background:var(--paper); border-left:3px solid var(--accent); }
.event-config-inventory { margin:1rem 0; }

/* M42 source trail and partial selections. */
.publication-study { border-bottom:1px solid #a5c4bf; padding:.6rem 0; }
.publication-study.is-origin { border-left:3px solid #15776e; padding-left:.65rem; }
.publication-inventory { margin-top:1rem; }
input[data-study-event-group]:indeterminate { accent-color:#08776d; }
