* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font: 15px/1.5 -apple-system, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1f2328; background: #f6f8fa;
}
a { color: #0969da; text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 24px; background: #0d4a3e; color: #fff;
  position: sticky; top: 0; z-index: 10;
}
.topbar a.brand { color: #fff; font-weight: 600; font-size: 18px; }
.topbar-meta { display: flex; gap: 14px; align-items: center; }
.topbar .muted { color: #c8e4dc; font-size: 13px; }
.btn {
  background: #fff; color: #0d4a3e; border: 0; border-radius: 6px;
  padding: 6px 14px; font-weight: 600; cursor: pointer;
}
.btn:hover { background: #e6f0ed; }

main { max-width: 1280px; margin: 24px auto; padding: 0 24px; }
h1 { margin: 8px 0 4px; font-size: 22px; }
h2 { margin: 24px 0 8px; font-size: 17px; }
h3 { margin: 18px 0 6px; font-size: 14px; color: #57606a; text-transform: uppercase; letter-spacing: .04em; }
.muted { color: #57606a; }
.small { font-size: 13px; }

.grid-2 {
  display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start;
}
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 14px; }
.card {
  display: block; background: #fff; border: 1px solid #d0d7de; border-radius: 10px;
  padding: 14px 16px; color: inherit; transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); transform: translateY(-1px); text-decoration: none; }
.card-title { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.card-sub { font-size: 13px; margin: 2px 0; }

.progress { background: #eaeef2; border-radius: 999px; height: 8px; overflow: hidden; margin: 10px 0 4px; }
.progress.big { height: 14px; }
.progress-bar { background: linear-gradient(90deg, #1f883d, #2da44e); height: 100%; }

.bucket-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.bucket {
  font-size: 12px; padding: 2px 8px; border-radius: 999px;
  background: #eaeef2; color: #57606a;
}
.bucket-pending { background: #fff8c5; color: #7d4e00; }
.bucket-submitted { background: #ddf4ff; color: #0550ae; }
.bucket-graded { background: #dafbe1; color: #1f883d; }

.changelist, .newslist { padding: 0; list-style: none; margin: 0; }
.changelist li {
  padding: 10px 12px; background: #fff; border: 1px solid #d0d7de;
  border-radius: 8px; margin-bottom: 8px;
}
.change-name { font-weight: 500; font-size: 14px; }
.tag {
  display: inline-block; font-size: 11px; padding: 1px 7px;
  background: #f6f8fa; border: 1px solid #d0d7de; border-radius: 999px;
  margin-right: 4px; margin-top: 4px; color: #57606a;
}
.newslist li {
  padding: 8px 0; border-bottom: 1px solid #eaeef2; font-size: 14px;
}
.newslist li:last-child { border-bottom: 0; }

.data {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid #d0d7de; border-radius: 8px; overflow: hidden;
}
.data th, .data td { padding: 8px 12px; text-align: left; border-bottom: 1px solid #eaeef2; font-size: 14px; }
.data th { background: #f6f8fa; font-weight: 600; color: #57606a; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.data tr:last-child td { border-bottom: 0; }
.row-submitted td:first-child::before { content: "● "; color: #0969da; }
.row-graded td:first-child::before { content: "● "; color: #1f883d; }
.row-pending td:first-child::before { content: "○ "; color: #9a6700; }
