.flash { max-width: 1360px; margin: 16px auto 0; padding: 12px 16px; background: #dcefe2; color: #2d6b43; border-radius: 12px; font-weight: 600; }
.headrow { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; }
.headrow > div { min-width: 0; }
.main.narrow { max-width: 820px; }
.back { margin: 0 0 12px; font-size: 14px; }
.filterbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.filterbar .stack { min-width: 150px; }
.filterbar .grow { flex: 1 1 220px; }
.filterbar .field { width: 100%; }
.label-spacer { font-size: 14px; line-height: 1.5; }
.panel.flush { padding: 4px 0; }
table.people .pl { padding-left: 22px; }
table.people .num { text-align: right; padding-right: 22px; font-variant-numeric: tabular-nums; }
.rowlink { color: var(--ink); text-decoration: none; }
.rowlink:hover strong { text-decoration: underline; }
.sub { font-size: 13px; color: var(--muted); }
.badge.changed { background: #f1e4f5; color: #6b2f7e; }
.empty-note { margin: 12px 0; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pager a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); }
.pager a[aria-current="page"] { background: var(--ember2); color: #ffffff; border-color: var(--ember2); }
.foot-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.editform { display: flex; flex-direction: column; gap: 16px; }
.editform .field { width: 100%; }
.field.area { min-height: 110px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.field-row.is-changed .field { border-color: #b98ac7; background: #fbf6fd; }
.field-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.was { margin: 0; font-size: 13px; color: var(--muted); }
.linkbtn { background: none; border: 0; padding: 0 0 0 8px; color: var(--ember5); font: inherit; font-weight: 700; cursor: pointer; min-height: 32px; }
.note-box { margin: 0; font-size: 14px; color: var(--ink2); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.inline-after { margin-top: 10px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; }
.cards-grid .panel { margin-top: 18px; }
.source h2 { margin: 0 0 4px; }
.mono { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 12px; margin: 16px 0; font-size: 14px; }
.facts dt { font-family: var(--display); font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; min-width: 0; }
.recipe { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat-box { display: flex; flex-direction: column; gap: 2px; }
.stat-box b { font-family: var(--display); font-weight: 800; font-size: 32px; font-variant-numeric: tabular-nums; }
.stat-box span { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .h1 { font-size: 30px; }
}
