:root {
  color-scheme: light;
  background: #f8f7f3;
  color: #1e2925;
  font: 16px/1.7 "Instrument Sans", "PingFang SC", system-ui, sans-serif;
  --accent: #275e48;
  --line: #d7ded5;
  --muted: #4e6057;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .24em; }
a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.masthead { border-bottom: 1px solid var(--line); padding: 1.15rem max(1.25rem, calc((100% - 58rem) / 2)); }
.masthead a { font-size: .82rem; font-weight: 750; letter-spacing: .15em; white-space: nowrap; text-decoration: none; }
main { max-width: 60.5rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
h1, h2, h3 { line-height: 1.22; overflow-wrap: anywhere; }
h1 { font: 500 clamp(2.2rem, 6vw, 4.1rem)/1.08 "Instrument Serif", Georgia, "Songti SC", serif; letter-spacing: -.025em; margin: .45em 0 .3em; max-width: 22ch; }
h2 { font-size: 1.44rem; }
h3 { margin: 0 0 .8rem; font-size: 1.12rem; }
.lead { font-size: 1.17rem; max-width: 70ch; margin: 1.1rem 0; }
.notice { border-left: 3px solid var(--accent); background: #eaf0e8; padding: .5rem .85rem; font-size: .88rem; margin-bottom: 1.5rem; }
.meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-size: .87rem; }
.back { display: inline-block; margin-bottom: 1rem; }
.filters:not([hidden]) { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin-top: 2rem; }
label { display: grid; gap: .25rem; color: var(--muted); font-size: .9rem; }
input, select { min-width: 0; background: #fffefa; border: 1px solid #aebbb0; border-radius: .3rem; font: inherit; color: inherit; padding: .6rem .75rem; }
#entries { list-style: none; margin: 0; padding: 0; }
.entry, section { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.2rem; }
.entry h2 { margin: .47rem 0; }
.entry p { margin-top: .6rem; }
.tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { background: #e7eee6; color: #284b3a; border-radius: 1rem; padding: .1rem .62rem; font-size: .83rem; }
.evidence { background: #fffefa; border: 1px solid var(--line); border-radius: .45rem; padding: 1.1rem 1.25rem; margin-top: .85rem; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem .95rem; margin: 0 0 .9rem; }
dt { font-weight: 650; color: var(--accent); }
dd { margin: 0; }
.method-figure { margin: 1.25rem 0; }
.method-figure img { display: block; max-width: 100%; height: auto; border-radius: .45rem; }
.method-figure figcaption { margin-top: .6rem; color: var(--muted); font-size: .875rem; }
@media (max-width: 36rem) {
  .filters:not([hidden]), dl { grid-template-columns: 1fr; }
  dd { margin-bottom: .35rem; }
}
