:root {
  --bg: #fbf6ee;
  --card: #ffffff;
  --text: #2b2118;
  --muted: #6f6256;
  --accent: #b5561c;
  --line: #e7dccc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1612;
    --card: #26201a;
    --text: #f1e8dc;
    --muted: #b3a595;
    --accent: #f0a05a;
    --line: #3a3128;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}
header.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
header.top .brand { font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
header.top nav a { margin-left: 12px; }
a { color: var(--accent); }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
p, ul { margin: 8px 0; }
ul { padding-left: 22px; }
.meta { color: var(--muted); font-size: 15px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
}
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.buttons a {
  display: inline-block;
  margin: 6px 8px 6px 0;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}
