:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #1e2321;
  --text2: #6b716d;
  --hairline: #e6e3dc;
  --primary: #24443b;
  --accent: #e08a6d;
  --todo-bg: #fff3c4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; }
.brand { font-family: Georgia, "Times New Roman", serif; font-size: 20px; color: var(--primary); margin: 0 0 24px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 34px; line-height: 1.2; margin: 0 0 6px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 22px; margin: 36px 0 8px; }
.meta { color: var(--text2); font-size: 14px; }
a { color: var(--primary); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
.callout { background: var(--surface); border: 1px solid var(--hairline); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; margin: 24px 0; }
.callout p, .callout ul { margin: 8px 0 0; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
th { background: #f0eee8; font-weight: 600; }
tr:last-child td { border-bottom: none; }
.todo { background: var(--todo-bg); padding: 0 4px; border-radius: 4px; }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border-bottom: none; padding: 4px 12px; }
  td:first-child { font-weight: 600; padding-top: 12px; }
  tr { border-bottom: 1px solid var(--hairline); padding-bottom: 8px; }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121614; --surface: #1b201e; --ink: #ecefed; --text2: #a3aaa6; --hairline: #2c332f; --primary: #9fd3bf; --todo-bg: #5a4b12; }
  th { background: #222826; }
}
