:root {
  --bg: #faf7f2;
  --ink: #2a2622;
  --muted: #8a8178;
  --accent: #b5748a;
  --card: #fff;
  --line: #e7e0d6;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
}
.brand { font-weight: 700; text-decoration: none; color: var(--ink); font-size: 18px; }
nav { display: flex; gap: 14px; align-items: center; }
nav a { color: var(--accent); text-decoration: none; }
nav .who { color: var(--muted); font-size: 14px; }
main { max-width: 640px; margin: 0 auto; padding: 20px 16px 60px; }
h1 { font-size: 24px; margin: 8px 0 16px; }
h2 { font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
textarea, input {
  width: 100%; font: inherit; padding: 12px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--bg);
}
textarea { resize: vertical; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
button {
  align-self: flex-start; background: var(--accent); color: #fff; border: 0;
  padding: 12px 22px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer;
}
button:active { transform: translateY(1px); }
.flash {
  background: #e9f6e9; border: 1px solid #b9e0b9; color: #2f6b2f;
  padding: 10px 14px; border-radius: 8px; margin-bottom: 16px;
}
.latest { margin-top: 28px; }
.latest ul, .captures { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.latest li, .captures li {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; display: flex; flex-direction: column; gap: 4px;
}
.text { white-space: pre-wrap; }
.meta { font-size: 12px; color: var(--muted); }
.more { display: inline-block; margin-top: 12px; color: var(--accent); text-decoration: none; }
.filters { display: flex; gap: 10px; margin-bottom: 16px; }
.filters a { color: var(--muted); text-decoration: none; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.filters a.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.status-discarded .text { text-decoration: line-through; color: var(--muted); }
.status-triaged { opacity: .8; }
.empty { color: var(--muted); }
.logo-wrap { text-align: center; margin-bottom: 8px; }
.site-logo { width: 180px; height: auto; mix-blend-mode: multiply; opacity: 0.88; }
