/* Apache mod_autoindex listings (/pdf, /sources, …) — same palette as global.css. */
:root {
  color-scheme: light dark;
  --bg: #0c0f0d; --surface: #121713; --border: #1f2a22;
  --text: #c4cec6; --dim: #7d8a80; --heading: #eef5ef; --accent: #4ade80;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #faf8f3; --surface: #fff; --border: #e4e0d6; --text: #3a3f3b; --dim: #6b716c; --heading: #111613; --accent: #15803d; }
}
body {
  margin: 0 auto; max-width: 960px; padding: 2rem clamp(1rem, 4vw, 2rem);
  font: 15px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--bg); color: var(--text);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { color: var(--heading); font-size: 1.5rem; margin: .5rem 0; }
p { font-family: system-ui, sans-serif; }
.ai-home { font-weight: 700; }
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
th { text-align: left; color: var(--dim); font-weight: 500; }
th, td { padding: .3rem .6rem; border-bottom: 1px solid var(--border); }
th a { color: var(--dim); }
tr:hover td { background: var(--surface); }
td:nth-child(n+3) { color: var(--dim); white-space: nowrap; }
img { vertical-align: middle; opacity: .6; }
hr { display: none; }
address { color: var(--dim); font-size: .8rem; }
