/* GitGud theme, aligned with homepage/css/main.css. Font: SIL OFL 1.1. */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/.ggdl/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: dark;
  --bg: #0a0c10;
  --header: #0d1117;
  --surface: #161b22;
  --raised: #21262d;
  --line: #30363d;
  --control-line: #57616d;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #58a6ff;
  --green: #3fb950;
  --button-green: #74a64c;
  --purple: #b392f0;
  --purple-border: #8957e5;
  --focus: #3fb950;
  --radius: 4px;
  --font-mono:
    "JetBrains Mono", "Roboto Mono", "Fira Code", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  font: 16px/1.7 var(--font-mono);
  background: var(--bg);
  color: var(--text);
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  min-height: 100vh;
  font-size: 0.875rem;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #453666;
  color: #fff;
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}
a:hover {
  color: #fff;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
button,
input,
select {
  font: inherit;
}
button,
input,
select,
.button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
button,
.button {
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}
button:hover,
.button:hover {
  background: var(--raised);
  border-color: var(--accent);
  color: var(--text);
}
.primary {
  background: var(--button-green);
  border-color: var(--button-green);
  color: var(--bg);
}
.primary:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--bg);
}
input,
select {
  border-color: var(--control-line);
  background: var(--bg);
  color: var(--text);
  padding: 0.5rem 0.7rem;
  min-width: 0;
  max-width: 100%;
}
label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.skip {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 10;
  background: var(--surface);
  padding: 0.7rem 1rem;
}
.skip:focus {
  top: 1rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--header);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0.45rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--green);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.brand .brand-domain,
.brand .brand-prompt {
  color: var(--muted);
  font-weight: 400;
}
.brand-prompt {
  margin-right: 0.2rem;
}
.service-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
}
.site-nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: 0.875rem;
  text-transform: lowercase;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  color: var(--muted);
  border-radius: var(--radius);
}
.site-nav a:hover {
  background: var(--raised);
  color: var(--text);
}
.site-nav a[aria-current="page"] {
  background: #14221b;
  color: var(--green);
  box-shadow: inset 0 -2px var(--green);
}
.site-nav a:last-child {
  color: var(--purple);
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1.5rem 3rem;
  min-width: 0;
}
.breadcrumbs {
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow-wrap: anywhere;
}
.breadcrumbs li + li:before {
  content: "/";
  color: var(--muted);
  padding: 0 0.5rem;
}
.breadcrumbs a {
  padding: 0.35rem 0;
}
.breadcrumbs [aria-current] {
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.035em;
  color: var(--green);
  margin-bottom: 0.7rem;
  overflow-wrap: anywhere;
}
h1::before {
  content: "> ";
  font-weight: 400;
  color: var(--muted);
}
h2 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.9rem;
}
h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.intro {
  max-width: 76ch;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.88rem;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.45rem;
}
.section {
  margin-top: 2rem;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}
.section-heading h2 {
  margin: 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0;
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}
.toolbar .search-field {
  flex: 1;
  min-width: min(100%, 220px);
}
.toolbar input {
  width: 100%;
}
.toolbar .sort-field {
  min-width: 145px;
}
.toolbar p {
  margin: 0;
}
.panel,
.project,
.release-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  min-width: 0;
}
.project-list,
.release-list,
.health-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}
.project-head,
.release-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.project-head h2,
.release-head h2 {
  margin: 0;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.project p {
  margin: 0.55rem 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.project-meta {
  display: flex;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
  font-size: 0.87rem;
  color: var(--muted);
}
.project .actions {
  margin-bottom: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 0.2rem 0.55rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.badge-ok {
  background: #12231a;
  color: #56d364;
  border-color: #295536;
}
.badge-warn {
  background: #2a2212;
  color: #e3b341;
  border-color: #665020;
}
.badge-error {
  background: #2d1718;
  color: #ff7b72;
  border-color: #703a38;
}
.badge-info {
  background: #1d1930;
  color: var(--purple);
  border-color: #453666;
}
.badge-neutral {
  background: var(--raised);
  color: var(--text);
  border-color: var(--line);
}
.inventory {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 1.3rem 0;
}
.inventory div {
  display: grid;
  gap: 0.1rem;
}
.inventory dt {
  font-size: 0.85rem;
  color: var(--muted);
}
.inventory dd {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.inventory dd.small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text);
}
.periods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.3rem 0;
}
.period {
  display: block;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
}
.period:hover {
  border-color: var(--purple-border);
  background: #1b1d29;
}
.period[aria-current="true"] {
  border: 1px solid var(--purple-border);
  background: #201b2d;
  box-shadow: inset 0 3px var(--purple-border);
}
.period[aria-current="true"] h2 {
  color: var(--purple);
}
.period h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.period dl {
  margin: 0;
}
.period dl div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.period dt {
  font-size: 0.85rem;
  color: var(--muted);
}
.period dd {
  font-weight: 600;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
.table-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
caption {
  text-align: left;
  padding: 0.8rem 1rem;
  font-weight: 600;
}
th,
td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 600;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: var(--raised);
}
.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.filename {
  overflow-wrap: anywhere;
  min-width: 130px;
}
.filename a {
  display: block;
  min-height: 44px;
  padding: 0.4rem 0;
}
.file-table td {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  vertical-align: middle;
}
.file-table {
  table-layout: fixed;
}
.file-table th:nth-child(2) {
  width: 110px;
}
.file-table th:nth-child(3) {
  width: 200px;
}
.file-kind {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  margin-right: 0.5rem;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.pager a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
}
.health-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  min-width: 0;
}
.health-row a {
  overflow-wrap: anywhere;
}
.health-row .badge {
  margin-top: 0.4rem;
}
.health-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
}
.health-meta dt {
  color: var(--muted);
  font-size: 0.8rem;
}
.health-meta dd {
  margin: 0;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}
.empty,
.notice {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-wrap: anywhere;
}
.empty p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}
.notice {
  border-left: 3px solid #d29922;
  margin: 1rem 0;
}
.release-notes {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.8rem 0;
}
details {
  margin: 1rem 0;
}
summary {
  cursor: pointer;
  min-height: 44px;
  display: list-item;
  padding: 0.5rem 0;
}
.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.download-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem;
  min-width: 0;
}
.download-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.download-name {
  overflow-wrap: anywhere;
  min-width: 0;
  flex: 1;
}
.download-name strong {
  display: block;
  overflow-wrap: anywhere;
}
.download-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.checksum {
  font: 12px/1.7 var(--font-mono);
  overflow-wrap: anywhere;
  color: var(--muted);
  user-select: all;
  margin: 0.7rem 0 0;
}
.group-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.group-nav a {
  padding: 0.4rem 0.7rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
footer {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 1.5rem 2rem;
  color: var(--muted);
  font-size: 0.83rem;
  border-top: 1px solid var(--line);
}
footer p {
  margin: 0.3rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-brand {
  font-weight: 700;
  color: var(--green);
}
.footer-brand span {
  font-weight: 400;
  color: var(--muted);
}
.footer-note {
  font-size: 0.75rem;
}
code {
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  .service-label {
    display: none;
  }
  .periods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .health-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 540px) {
  html {
    scroll-padding-top: 8rem;
  }
  .site-header .header-inner {
    gap: 0.25rem;
  }
  .brand-group {
    margin-right: auto;
  }
  .header-inner {
    padding: 0.5rem 1rem;
    gap: 0.4rem;
  }
  .site-nav {
    gap: 0;
  }
  .site-nav a {
    padding: 0.4rem 0.5rem;
    font-size: 0.9rem;
  }
  main {
    padding: 1.1rem 1rem 2rem;
  }
  .periods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  .period {
    padding: 0.8rem;
  }
  .period h2 {
    font-size: 0.75rem;
  }
  .period dl {
    display: grid;
    gap: 0.45rem;
  }
  .period dl div {
    display: block;
  }
  .period dt {
    font-size: 0.75rem;
  }
  .period dd {
    font-size: 0.85rem;
  }
  .inventory {
    gap: 0.8rem 1.2rem;
  }
  .file-table .modified {
    display: none;
  }
  .file-table th:nth-child(2) {
    width: 90px;
  }
  th,
  td {
    padding: 0.6rem 0.7rem;
  }
  .filename {
    min-width: 0;
  }
  .health-meta {
    grid-template-columns: minmax(0, 1fr);
  }
  .project,
  .release-card,
  .panel {
    padding: 1rem;
  }
  .download-top {
    display: block;
  }
  .download-top .button {
    margin-top: 0.8rem;
    width: 100%;
  }
  .toolbar .search-field {
    flex-basis: 100%;
  }
  .toolbar .sort-field {
    flex: 1;
  }
  .section {
    margin-top: 1.5rem;
  }
  footer {
    padding: 1rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  a,
  button {
    transition:
      background-color 0.15s,
      color 0.15s,
      border-color 0.15s;
  }
}
