:root { --bg: #fdfcf9; --fg: #1f1d1a; --muted: #6d675e; --line: #e6e1d8; --accent: #3d5a80; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --bg: #16171a; --fg: #ebe9e4; --muted: #a39e95; --line: #2c2e33; --accent: #93b2da; color-scheme: dark; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 18px/1.65 Georgia, "Iowan Old Style", "Palatino Linotype", serif; }
header.site, main, footer.site { max-width: 40rem; margin: 0 auto; padding: 0 1rem; }
header.site { padding-top: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.site-title { font: 700 1.35rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); text-decoration: none; }
.site-description { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }
main { padding-top: 2rem; padding-bottom: 3rem; }
footer.site { padding-bottom: 2.5rem; color: var(--muted); font-size: .85rem; }
a { color: var(--accent); }
h1 { font: 700 2rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; margin: 0 0 .4rem; }
time { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.posts { list-style: none; padding: 0; margin: 0; }
.posts li { margin: 0 0 2rem; }
.post-title { font: 700 1.25rem/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none; }
.posts time { margin: .2rem 0 .4rem; }
.posts p { margin: 0; }
.body img { max-width: 100%; height: auto; }
.body pre { overflow-x: auto; padding: .8rem; background: color-mix(in srgb, var(--fg) 6%, transparent); border-radius: 6px; font-size: .85rem; }
.body code { font-size: .88em; }
.body blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--line); color: var(--muted); }
/* Tables: scroll sideways on a narrow screen instead of squeezing words apart; headings never break mid-word. */
.body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.4rem 0; font-size: .9rem; line-height: 1.45; }
.body th, .body td { border: 1px solid var(--line); padding: .5rem .75rem; text-align: left; vertical-align: top; }
.body th { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 600; white-space: nowrap; background: color-mix(in srgb, var(--fg) 5%, transparent); }
.body tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--fg) 2.5%, transparent); }
.body td:first-child { min-width: 9rem; }
.pager { display: flex; justify-content: space-between; gap: 1rem; font-family: system-ui, sans-serif; font-size: .95rem; }
.empty { color: var(--muted); }
.terms { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .92rem; }
.terms p { margin: .3rem 0; }
.terms-label { color: var(--muted); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .2rem; }
.terms .terms-label { margin-right: .4rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { text-decoration: none; padding: .1rem .55rem; border: 1px solid var(--line); border-radius: 999px; }
.term-head { margin-bottom: 2rem; }
.term-description { color: var(--muted); margin: .2rem 0 0; }
.body h2, .body h3, .body h4 { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.3; margin: 2rem 0 .6rem; }
.body h2 { font-size: 1.35rem; } .body h3 { font-size: 1.12rem; } .body h4 { font-size: 1rem; }
