:root { --fg: #1d2330; --muted: #667085; --line: #d9dde5; --accent: #2f6b4f; --bg: #fbfbf9; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); background: var(--bg); }
.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .75rem 1.25rem; border-bottom: 1px solid var(--line); background: #fff; }
.top nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.top nav form { margin: 0; }
.brand { font-weight: 650; color: var(--fg); text-decoration: none; }
main { max-width: 72rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.narrow { max-width: 36rem; }
a { color: var(--accent); }
.button, button:not(.link) { display: inline-block; padding: .5rem .9rem; border: 0; border-radius: 6px; background: var(--accent); color: #fff; font: inherit; text-decoration: none; cursor: pointer; }
button.link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }
table { border-collapse: collapse; width: 100%; margin: .5rem 0 1.5rem; display: block; overflow-x: auto; }
th, td { text-align: left; padding: .4rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); }
tr.muted td { color: var(--muted); }
form.inline p { display: inline-block; margin: 0 1rem .5rem 0; }
input, select { font: inherit; padding: .3rem .4rem; border: 1px solid var(--line); border-radius: 4px; }
.errorlist { color: #a12b2b; margin: 0; padding-left: 1rem; }
.subnav { color: var(--muted); margin-top: 0; }
.filters a { text-decoration: none; }
.filters a.on { font-weight: 650; text-decoration: underline; }
.card { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: .75rem 1rem; margin: .75rem 0; }
.card p { margin: .3rem 0; }
.meta { color: var(--muted); font-size: .9em; }
.actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin: .5rem 0; }
.actions form, form.dismiss { margin: 0; }
form.stack p { margin: .5rem 0; }
form.stack label { display: block; font-weight: 600; }
.helptext { display: block; color: var(--muted); font-size: .85em; }
.messages { list-style: none; padding: 0; }
.messages li { padding: .5rem .75rem; border-radius: 6px; background: #e8f3ec; margin-bottom: .5rem; }
.messages li.error { background: #f8e5e5; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
form.search { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
form.search input[type=search] { flex: 1 1 20rem; font-size: 1.05rem; padding: .55rem .7rem; }
form.search details { flex-basis: 100%; }
.narrow-grid { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: .5rem; }
.narrow-grid label { display: flex; flex-direction: column; gap: .2rem; font-size: .9em; color: var(--muted); }
.narrow-grid select { max-width: 18rem; }
.card.person h2 { margin: 0 0 .1rem; font-size: 1.1rem; }
.passage { border-top: 1px solid var(--line); padding-top: .5rem; margin-top: .5rem; }
.passage .label { font-size: .92em; }
.excerpt { color: #333; }
.tag { display: inline-block; font-size: .75em; font-weight: 650; padding: .05rem .4rem; border-radius: 4px; margin-right: .3rem; }
.tag.published { background: #e8f3ec; color: #24563f; }
.tag.unreleased { background: #fdf0d8; color: #7a4b00; }
.note { background: #fdf0d8; padding: .4rem .7rem; border-radius: 6px; }
.lede { font-size: 1.05rem; max-width: 40rem; }
.inline-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.summary { font-size: 1.02rem; }
.actions-cell { white-space: nowrap; }
.actions-cell form { display: inline; margin-right: .5rem; }
details.confirm { display: inline-block; }
details.confirm summary { cursor: pointer; color: var(--accent); text-decoration: underline; list-style: none; }
details.confirm[open] summary { color: var(--muted); }
.notice { border-left: 4px solid #c58a1b; background: #fff8ea; padding: .6rem .9rem; margin: 1rem 0; max-width: 52rem; }
form.upload { display: flex; flex-wrap: wrap; gap: .3rem .5rem; align-items: center; margin-bottom: .3rem !important; }
label.accept { font-size: .85em; color: var(--muted); }
pre.email { white-space: pre-wrap; background: #fafafa; border: 1px solid var(--line); padding: .75rem; font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; max-width: 52rem; }
