:root { --ink: #1d1a17; --muted: #76706a; --paper: #faf7f2; --line: #e6dfd5; --accent: #8a4b2a; --dry: #d9b36a; --mai: #c27a3c; --dev: #7a3b1e; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
a { color: var(--accent); }
header.top { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1.25rem; border-bottom: 1px solid var(--line); background: #fff; }
header .brand { font-weight: 700; text-decoration: none; color: var(--ink); }
header nav { display: flex; gap: 1rem; align-items: center; }
main { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }
h1 { font-size: 1.6rem; margin: .2rem 0 .6rem; }
h2 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
h3 { font-size: 1.05rem; margin: .5rem 0; }
.muted { color: var(--muted); }
.err { color: #a32d1c; min-height: 1.2em; }
.ok { color: #2b6b3a; }
.running { color: var(--muted); font-style: italic; }
.inline { display: inline; }
button, .button { font: inherit; padding: .45rem .9rem; border-radius: 6px; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
button.link { background: none; border: none; color: var(--accent); padding: 0; text-decoration: underline; }
button.link.danger { color: #a32d1c; }
input, select, textarea { font: inherit; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; width: 100%; }
label { display: block; font-size: .9rem; color: var(--muted); }
.stack { display: grid; gap: .75rem; max-width: 520px; margin: .5rem 0 1rem; }
.narrow { max-width: 640px; }
.grid2 { display: grid; grid-template-columns: 1fr 400px; gap: 2.5rem; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }
ul.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .85rem 1rem; }
.card-title { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.stats { display: flex; gap: 1rem; margin-top: .35rem; font-variant-numeric: tabular-nums; }
.row-actions { margin-top: .35rem; font-size: .9rem; }
table.list, table.jobs { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: .93rem; }
table.list th a { color: var(--ink); text-decoration: none; }
table.list th a:hover { color: var(--accent); }
table.list th, table.list td, table.jobs th, table.jobs td { padding: .5rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.list tr.gone td { color: var(--muted); }
table.jobs td:nth-child(2) { white-space: nowrap; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: .75rem 0; }
dl.facts div { display: contents; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
.phase { display: inline-block; padding: .1rem .5rem; border-radius: 4px; color: #fff; margin-right: .3rem; }
.phase small { opacity: .85; }
.phase.dry { background: var(--dry); color: var(--ink); } .phase.mai { background: var(--mai); } .phase.dev { background: var(--dev); }
.note { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .75rem 1rem; margin: .75rem 0; }
.note footer { font-size: .85rem; display: flex; gap: .75rem; }
.prose { white-space: pre-wrap; }
img.hero { width: 100%; border-radius: 8px; margin: .5rem 0; }
img.thumb { width: 100%; border-radius: 8px; margin-bottom: .75rem; }
ul.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
ul.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .15rem .7rem; font-size: .9rem; }
.filters { display: flex; gap: .6rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.filters input[type=search] { max-width: 320px; }
.filters select { width: auto; }
.filters label { display: flex; align-items: center; gap: .3rem; }
.filters label input { width: auto; }
.admin { margin-top: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.admin button { background: #fff; color: var(--accent); }
details { margin: .5rem 0; } summary { cursor: pointer; color: var(--accent); }
.public .offering-summary { margin-bottom: 1rem; }
.charts { display: flex; gap: 1rem; flex-wrap: wrap; }
.charts figure { margin: 0; flex: 1 1 260px; max-width: 310px; }
.charts svg { width: 100%; height: auto; }
.charts figcaption { font-size: .85rem; color: var(--muted); text-align: center; }
.dim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .4rem .8rem; }
.dim-grid label { font-size: .82rem; }
fieldset { border: 1px solid var(--line); border-radius: 8px; }
legend { color: var(--muted); font-size: .85rem; padding: 0 .4rem; }
.flavor-form { max-width: none; }
