:root {
  --bg: #f6f7f9; --card: #ffffff; --text: #16202b; --muted: #5b6876; --line: #dde2e8; --accent: #0b6e8a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f151b; --card: #17202a; --text: #e6edf3; --muted: #9aa8b6; --line: #2a3643; --accent: #38a8c8;
  }
}
:root[data-theme="dark"] {
  --bg: #0f151b; --card: #17202a; --text: #e6edf3; --muted: #9aa8b6; --line: #2a3643; --accent: #38a8c8;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; }
.wrap { max-width: 760px; margin: 0 auto; padding: 16px; }
a { color: var(--accent); }
nav { font-size: .9rem; padding: 8px 0 4px; }
nav a { text-decoration: none; font-weight: 600; }
h1 { font-size: 1.8rem; line-height: 1.25; margin: 12px 0 6px; }
h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.meta { color: var(--muted); font-size: .9rem; margin: 0 0 20px; }
article, .card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; color: var(--muted); }
.cta { border-left: 4px solid var(--accent); padding: 10px 14px; background: var(--bg); border-radius: 6px; }
.sources { font-size: .85rem; color: var(--muted); }
ul.posts { list-style: none; padding: 0; margin: 0; }
ul.posts li { padding: 14px 0; border-bottom: 1px solid var(--line); }
ul.posts li:last-child { border-bottom: 0; }
ul.posts .date { color: var(--muted); font-size: .85rem; }
footer { color: var(--muted); font-size: .8rem; padding: 8px 0 32px; }
