/* Legal pages: one readable column on paper. */
.legal { padding-block: var(--s-24) var(--s-32); }
.legal-head { display: grid; gap: var(--s-5); max-width: var(--measure); margin-bottom: var(--s-12); }
.legal-head .t-lead { color: var(--ink-2); }
.leave { margin-top: var(--s-6); max-width: 480px; }
@media (max-width: 760px) { .legal { padding-block: var(--s-16) var(--s-20); } }
.legal-head .link, .prose a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
/* Download */
.release { display: grid; gap: var(--s-5); justify-items: start; max-width: var(--measure); margin-bottom: var(--s-16); padding: var(--s-8); border-radius: var(--r-xl); background: var(--paper-2); }
.release[hidden] { display: none; }
.release-head { display: flex; align-items: center; gap: var(--s-5); }
.release-head p { margin-top: var(--s-1); }
.hash { font-family: var(--font-mono); font-size: 12px; word-break: break-all; color: var(--ink-2); }
#notes h3 { font-size: var(--head-size); line-height: var(--head-lh); margin-top: var(--s-6); }

/* Inner pages: no bar. The brand sits centred above a centred column, like the home page. */
.site-head { display: flex; justify-content: center; padding-top: var(--s-10); }
.site-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800; line-height: 1; color: var(--ink);
  font-variation-settings: "ROND" var(--rond-heading);
}
.site-brand img { width: 32px; height: 32px; }
.legal { padding-block: var(--s-16) var(--s-32); }
.legal-head { margin-inline: auto; text-align: center; justify-items: center; }
.legal-head .t-lead { text-wrap: balance; }
.legal .prose, .legal .report, .legal .release { margin-inline: auto; }
.legal .release { justify-items: center; text-align: center; }
.legal .release-head { text-align: left; }
@media (max-width: 760px) { .site-head { padding-top: var(--s-6); } .legal { padding-block: var(--s-10) var(--s-20); } }
/* Ideas */
.ideas { list-style: none; margin: 0 auto var(--s-16); padding: 0; max-width: var(--measure); display: grid; }
.ideas-empty { text-align: center; padding: var(--s-8) 0; }
.idea { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-5); align-items: start; padding: var(--s-5) 0; box-shadow: inset 0 -1px 0 var(--line); }
.idea:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.vote {
  display: grid; justify-items: center; gap: 2px; width: 56px; padding: 8px 0 10px;
  border: 0; border-radius: var(--r-md); background: var(--paper-2); color: var(--ink-2); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
}
.vote .icon { width: 16px; height: 16px; }
.vote:hover:not([disabled]) { background: var(--paper-3); color: var(--ink); }
.vote.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.vote[disabled]:not(.on) { cursor: default; }
.vote-count { font-size: var(--callout-size); font-weight: 700; line-height: 1; }
.vote.shake { animation: shake 400ms; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.idea-title { font-size: var(--head-size); line-height: var(--head-lh); font-weight: 700; }
.idea-body { margin-top: var(--s-1); color: var(--ink-2); font-size: var(--callout-size); line-height: var(--callout-lh); }
.idea-tag { display: inline-block; vertical-align: 2px; margin-left: var(--s-2); padding: 3px 8px; border-radius: var(--r-full); font-size: var(--caption-size); font-weight: 600; line-height: 1; background: var(--paper-3); color: var(--ink-2); }
.idea-tag.planned { background: var(--blue-tint); color: var(--blue); }
.idea-tag.done { background: #e3f1e3; color: var(--ok); }
.suggest { margin-inline: auto; padding-top: var(--s-10); box-shadow: inset 0 1px 0 var(--line); }
.suggest .t-title2 { margin-bottom: var(--s-2); }
