body {
  box-sizing: border-box;
  min-height: 100vh;
  margin: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  font-family: system-ui, sans-serif;
  color: #222;
  background: #fff;
}

h1   { font-size: 1.3rem; font-weight: 600; border-bottom: 2px solid #ccc; padding-bottom: .4rem; }

table { width: 100%; border-collapse: collapse; font-size: .92rem; }
table { flex: 0 0 auto; }
th    { text-align: left; background: #f2f2f2; padding: .45rem .6rem; border-bottom: 1px solid #ccc; }
td    { padding: .35rem .6rem; border-bottom: 1px solid #eee; }
tr:hover td { background: #f7f9fc; }

a       { color: #0b5cad; text-decoration: none; }
a:hover { text-decoration: underline; }
img     { vertical-align: middle; margin-right: .4rem; }

td:nth-child(2), td:nth-child(3) { color: #777; white-space: nowrap; }
.idx-header {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
  padding: .6rem 0 1rem;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 1.2rem;
}
.idx-brand { font-size: 1.05rem; font-weight: 600; }
.idx-brand a { color: #111; }
.idx-brand .idx-sub { color: #666; font-weight: 400; }
.idx-nav { display: flex; gap: .9rem; font-size: .9rem; }
.idx-nav a { color: #555; }

/* restyle Apache's "Index of /path" as a quiet crumb */
h1 {
  font: 500 .95rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #666; border: 0; margin: .2rem 0 1rem;
}

.idx-footer {
  margin-top: auto;          /* ← this is what pushes it to the bottom */
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .4rem 1rem;
  font-size: .82rem;
  color: #777;
}

/* interpunct-separated links, no gap-mashing */
.idx-foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}
.idx-foot-links a {
  color: #0b5cad;
  white-space: nowrap;       /* don't break "slackware.com" across lines */
}
.idx-foot-links a + a::before {
  content: "·";
  color: #bbb;
  margin: 0 .55rem;
}

.idx-foot-note code {
  font-size: .95em;
  color: #555;
}
