/* tendhousing.com.au: the roadmap and its release notes only. Linked from roadmap.html's "styles" and from each
   release page (tools/build.mjs). After obsidian.md/roadmap (owner, 2026-11-16), drawn as a register. */

/* Building now, Planned and Released, each a register: the releases (and what's coming) on the ruled paper the drawn cards sit on. The date sits in the
   margin, left of the register's double line; each entry is a ruled row. Every line is one 28 px rule high and
   every gap a whole rule, so the text sits on the ruling all the way down (as the hero's title does, B15). */
.ledger { position: relative; list-style: none; margin: 0; padding: 0 var(--space-4) 0 var(--space-10); background-color: var(--leaf-50); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, var(--paper-rule) 27px, var(--paper-rule) 28px); border: 1px solid var(--leaf-100); border-radius: var(--radius-xl); line-height: 28px; }
.ledger::before { content: ''; position: absolute; top: 0; bottom: 0; left: var(--space-3); width: 5px; border-left: 1px solid var(--paper-line); border-right: 1px solid var(--paper-line); }
.ledger-entry { display: grid; padding-block: 28px; }
.ledger-entry + .ledger-entry { border-top: 1px solid var(--leaf-200); padding-top: 27px; }
.ledger-date { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-2); margin: 0; font-size: var(--step-small); }
.ledger-date time { color: var(--ink); font-weight: 600; }
.ledger-body h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); line-height: 28px; }
.ledger-body h3 a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--leaf-300); text-underline-offset: 0.2em; }
.ledger-body h3 a:hover { color: var(--leaf-800); text-decoration-color: currentColor; }
.ledger-body > p { color: var(--muted); margin: 0; }
.ledger .ticks { gap: 0; }
.ledger .ticks li::before { top: 10px; }
@media (min-width: 720px) {
  .ledger { padding-inline: 0 var(--space-8); }
  .ledger::before { left: calc(var(--space-6) + 10rem); }
  .ledger-entry { grid-template-columns: 10rem 1fr; column-gap: var(--space-12); }
  .ledger-date { display: grid; justify-items: end; align-content: start; text-align: right; }
}
@media (min-width: 960px) { .ledger-entry { grid-template-columns: 12rem 1fr; } .ledger::before { left: calc(var(--space-6) + 12rem); } }

/* A release's state, as a quiet label: stone, because an alpha is neither done nor due (rule 6). Building now is
   gold, because it's due and not done; Planned stays stone. */
.tag { display: inline-block; padding: 0 var(--space-2); border: 1px solid var(--stone-300); border-radius: var(--radius-sm); background: var(--bg-surface); color: var(--stone-700); font-size: var(--step-eyebrow); font-weight: 600; line-height: 1.6; }
.tag-building { border-color: var(--marigold-500); background: var(--marigold-50); color: var(--marigold-700); }

/* A release page: where it sits, its date and state over the title. */
.release-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-4); margin: 0 0 var(--space-5); font-size: var(--step-small); color: var(--muted); }
.release-meta time { color: var(--ink); font-weight: 500; }
.release-head .display { max-width: 16em; }
.release-head .lead { margin-bottom: 0; }
.release-notes { padding-top: 0; }

/* New, Improved, Fixed: the heading in the margin, the lines beside it, as the register above. */
.notes-sec { display: grid; gap: var(--space-4); padding-block: var(--space-8); border-top: 1px solid var(--rule); }
.notes-sec h2 { font-size: 1.625rem; }
.notes-sec .ticks { gap: var(--space-3); max-width: 40em; }
@media (min-width: 720px) { .notes-sec { grid-template-columns: 10rem 1fr; gap: var(--space-12); } }
@media (min-width: 960px) { .notes-sec { grid-template-columns: 12rem 1fr; } }

/* Earlier and later releases. */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--rule); }
.pager a { display: grid; align-content: start; gap: var(--space-1); min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--leaf-300); text-underline-offset: 0.22em; }
.pager a:hover { text-decoration-color: currentColor; }
.pager-label { color: var(--muted); font-size: var(--step-small); font-weight: 400; }
.pager-newer { justify-items: end; text-align: right; grid-column: 2; }
