:root {
  --bg: #0e0f12;
  --text: #e7eaf0;
  --muted: #8b93a1;
  --line: #1a1d24;
  --hover: #141720;
  --accent: #6aa9ff;
  --font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fa;
    --text: #1f2328;
    --muted: #6b7280;
    --line: #e6e8ec;
    --hover: #f0f2f5;
    --accent: #0969da;
  }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

body {
  max-width: 980px;
  margin: 40px auto;
  padding: 0 18px;
}

h1 {
  font-size: 14pt;
  font-weight: 500;
  margin-bottom: 14pt;
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

th, td {
  padding: 6px 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

th {
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

tr {
  border-bottom: 1px solid var(--line);
}

tr:last-child {
  border-bottom: none;
}

tr:hover {
  background: var(--hover);
}

tr.indexbreakrow {
  display: none;
}

.indexcolname {
  text-align: left;
  width: auto;
}

.indexcollastmod {
  text-align: left;
  width: 170px;
  color: var(--muted);
}

.indexcolsize {
  text-align: left;
  width: 90px;
  color: var(--muted);
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

address {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
}

@media (max-width: 720px) {
  .indexcollastmod,
  .indexcolsize,
  .indexcoldesc,
  th.indexcollastmod,
  th.indexcolsize,
  th.indexcoldesc {
    display: none;
  }

  body {
    margin: 20px auto;
  }
}
