:root {
  --ink: #1f2328;
  --muted: #59636e;
  --rule: #d0d7de;
  --paper: #fff;
  --panel: #f6f8fa;
  --link: #0a4f8a;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e6edf3;
    --muted: #9aa4af;
    --rule: #3d444d;
    --paper: #0d1117;
    --panel: #161b22;
    --link: #79b8ff;
  }
}
html { font: 17px/1.55 Georgia, "Times New Roman", serif; color: var(--ink); background: var(--paper); }
body { margin: 0 auto; padding: 0 1rem 3rem; max-width: 52rem; }
a { color: var(--link); }
header.site { font-family: system-ui, sans-serif; font-size: .9rem; padding: .75rem 0; border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem; }
header.site a { text-decoration: none; color: var(--muted); }
h1 { font-size: 2rem; line-height: 1.15; margin: 0 0 .25rem; }
h2 { font-size: 1.3rem; border-bottom: 1px solid var(--rule); padding-bottom: .2rem; margin-top: 2rem; }
.bio h2:first-child { margin-top: 0; }
.family, .album, .resources, .links, .sources { clear: both; }
.lifespan, .years, .kind, figcaption small, footer { color: var(--muted); }
.lifespan { margin: 0; }
.summary { font-size: 1.1rem; margin: .5rem 0 1rem; }
.facts { float: right; width: 16rem; margin: 0 0 1rem 1.5rem; padding: .75rem 1rem; background: var(--panel); border: 1px solid var(--rule); border-radius: 4px; font-family: system-ui, sans-serif; font-size: .9rem; }
.facts dl { margin: 0; }
.facts dt { font-weight: 600; margin-top: .6rem; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 0; }
.bio blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .3rem .6rem .3rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; white-space: nowrap; width: 6rem; }
.photos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; }
.photos figure { margin: 0; }
.photos img { width: 100%; height: 14rem; object-fit: cover; border: 1px solid var(--rule); border-radius: 3px; display: block; }
figcaption { font-size: .85rem; margin-top: .3rem; }
.kind { font-family: system-ui, sans-serif; font-size: .8rem; border: 1px solid var(--rule); border-radius: 3px; padding: 0 .35rem; margin-left: .25rem; }
.people { padding-left: 1.2rem; }
.document h1 { margin-top: 0; }
footer { font-family: system-ui, sans-serif; font-size: .8rem; border-top: 1px solid var(--rule); margin-top: 3rem; padding-top: .75rem; clear: both; }
code { font-size: .9em; }
@media (max-width: 40rem) {
  .facts { float: none; width: auto; margin: 0 0 1rem; }
}
