:root { color-scheme: light dark; --bg: #f5f7f5; --card: #fff; --tx: #17291f; --mut: #485c50; --bd: #cbd8ce; --ac: #1f6b42; }
@media (prefers-color-scheme: dark) { :root { --bg: #0e1712; --card: #17241c; --tx: #e9f2eb; --mut: #b4c5b8; --bd: #3b5142; --ac: #8cdb9d; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 1rem/1.65 -apple-system, "Segoe UI", Roboto, sans-serif; overflow-wrap: anywhere; }
header, main, footer { max-width: 960px; margin: 0 auto; padding: 24px; }
header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.brand { font-weight: 750; text-decoration: none; }
main { background: var(--card); border: 1px solid var(--bd); border-radius: 18px; }
h1 { font-size: clamp(1.65rem, 5vw, 2.3rem); line-height: 1.2; margin-top: 0; }
h2 { font-size: 1.25rem; line-height: 1.4; margin-top: 2rem; }
a { color: var(--ac); text-underline-offset: 4px; }
a:focus-visible, .table-scroll:focus-visible { outline: 3px solid var(--ac); outline-offset: 4px; }
header a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
li { margin-bottom: .65rem; }
.table-scroll { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--bd); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: .95rem; }
th, td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bd); }
th { background: var(--bg); }
code { font-size: .9em; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); padding: 12px; }
.skip:focus { left: 8px; }
@media (max-width: 600px) { header, main, footer { padding: 18px; } main { border-radius: 0; border-left: 0; border-right: 0; } }
@media print { header, footer, .skip { display: none; } body, main { color: #000; background: #fff; } main { max-width: none; border: 0; padding: 0; } .table-scroll { overflow: visible; } table { min-width: 0; } }
