body {
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  text-align: center;
  background: #f6f8fa;
  color: #24292e;
  margin: 0;
}

#wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 20px 10px;
}

h1 {
  margin-bottom: 8px;
}

.subtitle {
  margin-top: 0;
  margin-bottom: 28px;
  color: #57606a;
}

.section-card {
  background: #fff;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  padding: 12px 16px 8px;
  box-shadow: 0 1px 2px rgba(27, 31, 35, 0.08);
  margin-bottom: 16px;
}

h2 {
  margin: 8px 0 12px;
}

.repo-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
}

th,
td {
  padding: 8px 10px;
  text-align: left;
}

/* Leave space for sort arrows in all headers */
th {
  padding-right: 18px;
}

.datatable-sorter::before,
.datatable-sorter::after {
  right: 6px;
}

th {
  background: #f0f3f6;
  border-bottom: 1px solid #d0d7de;
  font-weight: 600;
  color: #1f2328;
}

td {
  border-bottom: 1px solid #d8dee4;
}

tr:nth-child(even) td {
  background: #f9fbfd;
}

a {
  color: #0969da;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.commit-cell {
  color: #1f2328;
}

.commit-date {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-icon {
  display: inline-block;
  margin-left: 0;
  font-weight: 700;
  line-height: 1;
  font-size: 1.1em;
}

.status-success {
  color: #1f883d;
}

.status-failure {
  color: #d1242f;
}

.status-pending {
  color: #9a6700;
}

.status-warning {
  color: #c28e00;
}

.status-icon-link {
  text-decoration: none;
}

.status-icon-link:hover {
  text-decoration: underline;
}

.commit-date a:not(.status-icon) {
  color: inherit;
}

.commit-date.commit-fresh {
  color: #3c8a65;
}

.commit-date.commit-recent {
  color: #709541;
}

.commit-date.commit-stale {
  color: #b08844;
}

.commit-date.commit-old {
  color: #b75a55;
}

.commit-actor {
  color: #57606a;
  font-size: 0.95em;
}

.meta-cell {
  color: #1f2328;
  font-size: 0.95em;
}

.owner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.owner-logo {
  height: 1.8rem;
  width: 1.8rem;
  border-radius: 6px;
  border: 1px solid #d0d7de;
  background: #fff;
  object-fit: cover;
}

.owner-cell {
  text-align: center;
}

.topics-cell {
  color: #57606a;
  font-size: 0.95em;
  max-width: 260px;
}

.empty {
  color: #8c959f;
}

.error-note {
  color: #d1242f;
  font-weight: 600;
}
