:root {
  --bg: #f7f8fa;
  --fg: #1b1f27;
  --muted: #6b7280;
  --line: #e3e6eb;
  --accent: #0f4c81;
  --ok: #1a7f4b;
  --ng: #c0392b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.7;
}
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; font-size: 1.1rem; color: var(--accent); text-decoration: none; }
.nav a { margin-left: 20px; color: var(--fg); text-decoration: none; font-size: .92rem; }
.nav a:hover { color: var(--accent); }
main { padding: 32px 20px 64px; }
.hero { padding: 24px 0 8px; }
.hero h1 { font-size: 1.8rem; margin: 0 0 6px; }
.lead { color: var(--muted); margin: 0 0 20px; }
.search { display: flex; gap: 8px; max-width: 560px; }
.search input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 1rem; }
.search button, .btn {
  display: inline-block; padding: 12px 20px; border: 0; border-radius: 6px;
  background: var(--accent); color: #fff; font-size: 1rem; text-decoration: none; cursor: pointer;
}
.note { color: var(--muted); font-size: .85rem; margin-top: 12px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px 28px; margin-top: 28px; }
.panel h1, .panel h2 { margin-top: 0; }
.todo { list-style: none; padding: 0; }
.todo li { padding: 4px 0 4px 26px; position: relative; color: var(--muted); }
.todo li::before { content: "○"; position: absolute; left: 4px; }
.todo li.done { color: var(--fg); }
.todo li.done::before { content: "✔"; color: var(--ok); }
table.checks { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.checks th, table.checks td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.checks tr.ok td:nth-child(2) { color: var(--ok); font-weight: 700; }
table.checks tr.ng td:nth-child(2) { color: var(--ng); font-weight: 700; }
code { background: #eef1f5; padding: 1px 6px; border-radius: 4px; font-size: .88em; }
pre.trace { background: #1b1f27; color: #e6e6e6; padding: 16px; border-radius: 8px; overflow-x: auto; font-size: .8rem; }
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 20px 0; color: var(--muted); }
