:root {
  color-scheme: light;
  --bg: #f3f5fb; --surface: #ffffff; --ink: #0f1a33; --muted: #536079; --line: #dfe4f0; --accent: #0129ec; --mark: #fff0a8;
}
* { box-sizing: border-box; }
::selection { background: var(--accent); color: var(--surface); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
header { background: #0129ec; color: #fff; padding: 14px 16px 22px; }
header .inner, main { max-width: 760px; margin: 0 auto; }
header a { color: #fff; text-underline-offset: 3px; font-size: .9rem; }
h1 { margin: 10px 0 0; font-size: 1.85rem; line-height: 1.2; }
main { padding: 24px 16px 56px; }
.updated { color: var(--muted); margin-top: 0; }
h2 { font-size: 1.2rem; margin: 2.2em 0 .5em; }
p, li { max-width: 70ch; }
a { color: var(--accent); text-underline-offset: 3px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; background: var(--surface); }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }
.todo { background: var(--mark); padding: 1px 5px; border-radius: 4px; font-weight: 600; }
footer { max-width: 760px; margin: 0 auto; padding: 0 16px 40px; color: var(--muted); font-size: .9rem; }
@media print { :root { --bg: #fff; --surface: #fff; --ink: #000; --muted: #333; --line: #999; --accent: #000; --mark: #fff0a8; } header { background: none; color: #000; } header a, footer { display: none; } }

/* Language bar and right-to-left pages */
.langs { margin: 14px 0 0; font-size: .85rem; line-height: 2; }
.langs a { color: #fff; opacity: .85; }
.langs a[aria-current] { font-weight: 700; opacity: 1; text-decoration: none; }
[dir="rtl"] th, [dir="rtl"] td { text-align: right; }
[dir="rtl"] td:last-child, [dir="rtl"] th:last-child { text-align: left; }
@media print { .langs { display: none; } }
