:root {
  color-scheme: light;
  --bg: #f4efe4;
  --ink: #1b3a32;
  --muted: #5e4632;
  --card: #fffdf8;
  --line: #e4d3b5;
  --accent: #1f6b4a;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}
.bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
}
.bar a { color: var(--accent); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.bar h1 { font-size: 1.15rem; margin: 0; flex: 1; }
.bar select { font: inherit; min-height: 44px; border-radius: 10px; border: 2px solid var(--line); background: #fff; color: var(--ink); }
main { max-width: 42rem; margin: 0 auto; padding: 20px 16px 48px; }
article { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px 8px; margin-bottom: 16px; }
h2 { font-size: 1.25rem; margin: 0 0 8px; }
h3 { font-size: 1.05rem; margin: 16px 0 6px; }
p, li { color: var(--ink); }
.muted, .updated { color: var(--muted); }
a { color: var(--accent); }
form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
label { font-weight: 700; }
input, textarea, button {
  font: inherit;
  border-radius: 12px;
  border: 2px solid var(--line);
  padding: 12px;
  min-height: 48px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 120px; }
button { background: var(--accent); color: #f7f3ea; border-color: var(--accent); font-weight: 700; }
button.ghost { background: #fff; color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; }
.status { min-height: 1.4em; font-weight: 700; }
@media (max-width: 640px) {
  body { font-size: 17px; }
  .bar { flex-wrap: wrap; }
}
