/* Releases: the repo's Releases tab and the per-tag release page
   (Amadan Releases, 2026-08-22). Its own file because every other
   surface has one — the per-surface split (discussion #14) stays
   split — and because nothing else on the site styles a download.
*/

/* Releases tab and release page (Amadan Releases, 2026-08-22). The row
   is the branch row's geometry deliberately — a list of named things
   with an author and a date reads the same way whichever list it is —
   and the asset table is a plain table because a download's size and
   digest are columns, not prose. No new tokens. */
.releases-section { margin-top: 1rem; }
/* Same treatment .branch-rail and .dash-cards give their counts — a
   quiet figure beside a heading, not a second heading. */
.releases-section .rail-count { color: var(--fg-muted); font-weight: 400; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
ul.releases { list-style: none; padding: 0; margin: 0; }
ul.releases li.release-row {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  font-size: 0.9rem;
}
ul.releases li.release-row:last-child { border-bottom: 1px solid var(--border); }
.release-row .release-tag { font-weight: 600; }
.release-row .release-notes-line { flex: 1; min-width: 10rem; }
.release-row .release-by, .release-row .when { color: var(--fg-muted); font-size: 0.85rem; }
.release-row .when { font-variant-numeric: tabular-nums; }

.release-title { margin-bottom: 0.5rem; }
.release-facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; margin: 0.5rem 0 1rem; }
.release-facts dt { color: var(--fg-muted); }
.release-facts dd { margin: 0; }
/* Notes are the publisher's plain text, shown as written: wrapped, not
   rendered. This page must not become somewhere a publisher can draw a
   convincing button. */
.release-notes { white-space: pre-wrap; word-wrap: break-word; margin: 0 0 1rem; }
.release-signed { margin: 0 0 1rem; }
.release-assets { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.release-assets th, .release-assets td {
  text-align: left;
  padding: 0.4rem 1rem 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.release-assets th { color: var(--fg-muted); font-weight: 500; }
.release-asset-size { font-variant-numeric: tabular-nums; white-space: nowrap; }
.release-asset-sha { word-break: break-all; }
