/* ==== What's new pages (2026-12-02) ====
   One stylesheet for the four free apps' version history pages
   (/<app>/whats-new/), generated by scripts/whats-new.mjs. Loaded after the
   app's own stylesheet, so it only adds the wn- blocks and uses the site's
   theme tokens (no colors of its own, light and dark both follow them).
   Built for readers 55 and older: big type, one column, plenty of air. */

.wn-wrap {
  max-width: 760px;
}

.wn-hero {
  padding: 3rem 0 1.4rem;
}

.wn-kicker {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.wn-kicker a {
  color: inherit;
  text-decoration: none;
}

.wn-kicker a:hover,
.wn-kicker a:focus-visible {
  text-decoration: underline;
}

.wn-hero h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.wn-intro,
.wn-update {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}

.wn-update {
  color: var(--text-secondary);
}

.wn-get,
.wn-intro a {
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.wn-youhave {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  margin: 0.4rem 0 1rem;
}

.wn-list {
  padding: 0.6rem 0 1.6rem;
}

.wn-entry {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem 1.4rem;
  margin-bottom: 1.4rem;
}

.wn-entry:target {
  border-color: var(--accent);
}

.wn-entry--new {
  border-color: var(--accent);
  background: var(--accent-light);
}

.wn-entry__title {
  font-size: 1.7rem;
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

.wn-new {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.7rem;
  padding: 0.12rem 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--contrast-white);
  background: var(--accent);
  border-radius: var(--radius-sm);
}

.wn-entry__meta {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
}

.wn-entry__notes p,
.wn-entry__notes li {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.wn-entry__notes p {
  margin-bottom: 0.9rem;
}

.wn-entry__notes ul {
  margin: 0 0 0.9rem 1.4rem;
  padding: 0;
}

.wn-entry__notes li {
  margin-bottom: 0.35rem;
}

.wn-entry__notes > :last-child {
  margin-bottom: 0;
}

.wn-closing {
  padding: 0.4rem 0 3rem;
}

@media (max-width: 640px) {
  .wn-hero {
    padding: 2rem 0 1rem;
  }
  .wn-hero h1 {
    font-size: 1.9rem;
  }
  .wn-entry {
    padding: 1.2rem 1.1rem 1.1rem;
  }
  .wn-entry__title {
    font-size: 1.45rem;
  }
}
