/* Daily — plandaily.app/changes. Builds on app.css (sky, nav, sheet) and roadmap.css (the release
 * cards). Each change has a kind: new = life orange, better = workout amber, fixed = food rose. */

.ch-hero {
  max-width: 1000px; margin: 0 auto;
  padding: 140px max(20px, env(safe-area-inset-right)) 90px max(20px, env(safe-area-inset-left));
}
.ch-hero .hero-title { font-size: clamp(40px, 6vw, 76px); }
.ch-hero .hero-lede a { color: inherit; text-underline-offset: 3px; }

.ch-list { padding-top: 70px; }
.ch-filter { margin: 0 auto 40px; }

/* No spine or month column here: the cards stack. */
.ch-releases { display: grid; gap: 28px; padding: 0; margin: 0; list-style: none; }
.ch-releases .rel { display: block; }
.ch-releases .rel[hidden] { display: none; }
.ch-releases .rel-card { margin: 0; }
.ch-date { font-size: 13.5px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ch-builds { font-size: 12.5px; color: var(--ink-3); margin-left: auto; font-variant-numeric: tabular-nums; }

.ch-group { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.ch-kind {
  display: inline-block; margin-bottom: 10px;
  font-size: 11.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase;
  color: color-mix(in srgb, var(--k) 78%, var(--ink));
}
.ch-group[data-kind="new"]    { --k: var(--life); }
.ch-group[data-kind="better"] { --k: var(--workout); }
.ch-group[data-kind="fixed"]  { --k: var(--food); }
.ch-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ch-group li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.45; text-wrap: pretty; }
.ch-group li::before {
  content: ""; position: absolute; left: 2px; top: .52em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--k);
}
.ch-group li[hidden] { display: none; }
.ch-on { white-space: nowrap; }
.ch-on .tag { margin-left: 6px; }

.ch-empty, .ch-noscript { text-align: center; color: var(--ink-3); font-size: 15px; padding: 24px 0; }
.ch-unreleased .rel-card { border-style: dashed; }

@media (max-width: 640px) {
  .ch-hero { padding-top: 112px; padding-bottom: 64px; }
  .ch-builds { margin-left: 0; width: 100%; }
}
