:root {
  color-scheme: light;
  color: #182f37;
  background: #fff;
  font: 16px/1.55 "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ink: #073d46;
  --teal: #086260;
  --muted: #4d6167;
  --rule: #d8e2e1;
  --wash: #f4f8f7;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.wrap { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--rule); }
.nav, .breadcrumb { display: flex; align-items: center; gap: .85rem; }
.nav { min-height: 62px; gap: 1.5rem; }
.brand { color: var(--ink); font-weight: 750; font-size: 1.15rem; text-decoration: none; }
.breadcrumb { font-size: .87rem; color: var(--muted); }
#language { margin-inline-start: auto; font-size: .82rem; }
a { color: var(--teal); text-underline-offset: .18em; }
button, select, input { color: inherit; font: inherit; }
button { background: #fff; border: 1px solid #afc4c4; border-radius: 5px; padding: .42rem .7rem; cursor: pointer; }
button:hover { background: var(--wash); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -5rem; }
.skip:focus { top: .5rem; background: #fff; padding: .45rem; z-index: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
main { padding-block: 2rem 3rem; }
h1 { margin: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; font-weight: 750; }
h2 { margin: 0; font-size: 1.17rem; line-height: 1.32; }
.muted, .metadata { color: var(--muted); }
.brief { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem 2rem; padding-bottom: 1.35rem; border-bottom: 1px solid var(--rule); }
#window { margin: .55rem 0 0; font-size: .88rem; }
.brief-details { display: grid; gap: .28rem; }
.brief-details p { margin: 0; font-size: .86rem; }
.stats { display: flex; flex-wrap: wrap; gap: .18rem .85rem; }
.stats strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.literature { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: .9rem clamp(1.15rem, 3vw, 2.4rem); padding-top: 1.1rem; align-items: start; }
.issue-bar { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .8rem; padding-bottom: .65rem; border-bottom: 1px solid var(--rule); }
.issue-bar label { color: var(--ink); font-size: .89rem; font-weight: 700; }
.issue-bar select { max-width: 100%; background: white; border: 1px solid #b9cccc; border-radius: 5px; font-size: .89rem; padding: .3rem .5rem; }
.toolbar { grid-column: 2; display: flex; justify-content: space-between; align-items: center; gap: .55rem 1.1rem; }
.search { width: min(100%, 340px); }
.search input, .filters select { width: 100%; min-width: 0; background: white; border: 1px solid #b9cccc; border-radius: 5px; font-size: .89rem; padding: .48rem .58rem; }
.filter-panel { grid-column: 1; grid-row: 2 / span 2; min-width: 0; border-right: 1px solid var(--rule); padding: .15rem 1.25rem 1.35rem 0; }
.filter-panel summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.filters { display: grid; gap: .82rem; margin-top: .85rem; }
.filters label { display: grid; min-width: 0; gap: .25rem; font-size: .83rem; font-weight: 650; }
.filters .check { display: flex; align-items: center; gap: .4rem; }
.filters .check input { margin: 0; }
.reset { justify-self: start; font-size: .82rem; }
.filter-note { color: var(--muted); font-size: .82rem; margin: .9rem 0 0; }
.results { grid-column: 2; min-width: 0; }
#matches { font-size: .83rem; margin: 0 0 .47rem; }
#papers { border-top: 1px solid var(--rule); }
.paper { padding: 1rem 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.paper-header { display: flex; align-items: start; justify-content: space-between; gap: .65rem 1rem; }
.paper h3 { margin: 0; color: var(--ink); font-size: 1.04rem; line-height: 1.38; font-weight: 700; }
.paper h3 a { color: inherit; text-decoration: none; }
.paper h3 a:hover { text-decoration: underline; }
.paper-status { flex: none; color: #345d59; background: var(--wash); border-radius: 4px; padding: .14rem .42rem; font-size: .73rem; line-height: 1.5; }
.paper p { margin: .38rem 0 0; font-size: .86rem; }
.paper .paper-brief { color: var(--ink); font-size: .94rem; line-height: 1.55; margin: .56rem 0 .45rem; max-width: 82ch; }
.paper-journal { font-weight: 650; }
.paper-pmid { user-select: all; }
.brief-source { color: var(--muted); font-size: .79rem; font-weight: 650; margin-inline-end: .28rem; }
.paper-links { display: flex; flex-wrap: wrap; gap: .25rem .75rem; }
#more { margin-top: 1rem; }
@media (max-width: 760px) {
  .wrap { width: min(100% - 2rem, 1180px); }
  .nav { min-height: 54px; gap: .65rem; flex-wrap: wrap; }
  .breadcrumb { gap: .35rem; }
  main { padding-top: 1.35rem; }
  .brief { display: grid; gap: .5rem; padding-bottom: .9rem; }
  .literature { display: flex; flex-direction: column; align-items: stretch; gap: .65rem; padding-top: .85rem; }
  .toolbar { flex-wrap: wrap; }
  .search { width: 100%; }
  .filter-panel { border: 1px solid var(--rule); border-radius: 5px; padding: .4rem .6rem; }
  .filter-panel:not([open]) { align-self: flex-start; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paper-header { flex-wrap: wrap; gap: .35rem; }
  .paper h3 { width: 100%; }
  .paper { padding-block: .85rem; }
}

.paper-tags{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.4rem .85rem;margin:.75rem 0;font-size:.82rem}
.paper-tags dt{font-weight:650;color:#36545c;align-self:center}
.paper-tag-values{display:flex;flex-wrap:wrap;gap:.35rem;margin:0;min-width:0;overflow-wrap:anywhere}
.paper-tag{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:.3rem;padding:.13rem .42rem;border:1px solid #cfe1de;border-radius:.32rem;background:#f0f7f5;color:#20524e}
.bacterium-tag{background:#f2f6fa;border-color:#d4e1ed;color:#274a63}
.bacterium-tag small,.paper-tag-empty{color:#526b73}
@media(max-width:540px){.paper-tags{grid-template-columns:1fr;row-gap:.22rem}.paper-tag-values{margin-bottom:.2rem}}
