:root {
  --bg: #ffffff; --fg: #1d1d1f; --muted: #5f6368; --line: #e3e3e6; --accent: #2e7d32; --panel: #f6f7f6;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111312; --fg: #ececec; --muted: #a3a8a5; --line: #2c302e; --accent: #8bd17c; --panel: #1a1d1b; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
nav { font-size: 14px; margin-bottom: 24px; }
nav a { margin-right: 16px; }
a { color: var(--accent); }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 20px; margin: 36px 0 8px; }
.updated { color: var(--muted); margin: 0 0 24px; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
.table { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { background: var(--panel); }
tr:last-child td { border-bottom: none; }
footer { margin-top: 48px; color: var(--muted); font-size: 14px; }

/* Phones: each row becomes a card, each cell labelled with its column */
@media (max-width: 600px) {
  .table { border: none; overflow: visible; }
  table, tbody, tr, td { display: block; }
  tr:first-child { display: none; }
  tr { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 12px; padding: 4px 0; }
  td { border: none; padding: 4px 12px; }
  td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
  td:first-child { font-weight: 600; font-size: 15px; }
  td:first-child::before { display: none; }
  tr:last-child td { border-bottom: none; }
}
