/* TsaTsaTzu: one small stylesheet. Every page works without it. */
:root {
  --text: #111;
  --bg: #fff;
  --link: #0a3d91;     /* 10.5:1 on white */
  --visited: #5b1a8f;  /* 9.4:1 on white */
  --focus: #b30000;
  --rule: #555;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f2f2f2;
    --bg: #121212;
    --link: #9ec5ff;   /* 10.3:1 on #121212 */
    --visited: #d6b8ff;
    --focus: #ffcc00;
    --rule: #aaa;
  }
}
html { font-size: 100%; }
body {
  margin: 0 auto;
  padding: 0 1rem 2rem;
  max-width: 44rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
}
a { color: var(--link); text-decoration-thickness: 0.08em; text-underline-offset: 0.15em; }
a:visited { color: var(--visited); }
:focus-visible { outline: 0.2rem solid var(--focus); outline-offset: 0.15rem; }
.skip { position: absolute; left: -999rem; }
.skip:focus { position: static; display: inline-block; margin: 0.5rem 0; padding: 0.25rem 0.5rem; }
header .site-name { margin: 1rem 0 0.25rem; font-weight: bold; font-size: 1.25rem; }
nav ul, nav ol { padding-left: 1.25rem; }
nav[aria-label="Site"] ul { list-style: none; padding: 0; margin: 0; }
nav[aria-label="Site"] li { display: inline-block; margin-right: 1rem; }
nav[aria-label="Breadcrumb"] ol { list-style: none; padding: 0; margin: 0.5rem 0; }
nav[aria-label="Breadcrumb"] li { display: inline; }
nav[aria-label="Breadcrumb"] li + li::before { content: " / "; }
[aria-current="page"] { font-weight: bold; }
main { border-top: 1px solid var(--rule); margin-top: 0.75rem; }
h1, h2, h3, h4 { line-height: 1.25; }
code { font-size: 0.95em; }
table { border-collapse: collapse; margin: 1rem 0; }
caption { text-align: left; font-weight: bold; }
th, td { border: 1px solid var(--rule); padding: 0.25rem 0.5rem; text-align: left; vertical-align: top; }
dt { font-weight: bold; }
dd { margin: 0 0 0.5rem 1.25rem; }
footer { border-top: 1px solid var(--rule); margin-top: 2rem; font-size: 0.95rem; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .skip, nav, footer ul { display: none; }
  body { max-width: none; color: #000; background: #fff; }
  a { color: #000; }
  main { border: 0; }
}
