.zd-section { border-top: 1px solid var(--line); }
.zd-cards, .zd-facts, .zd-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: .8rem;
}
.zd-cards, .zd-time { list-style: none; margin: 0; padding: 0; }
.zd-cards > li, .zd-facts > div, .zd-checks, .zd-note {
  padding: 1.1rem;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.zd-cards h3, .zd-facts dt, .zd-checks legend {
  color: var(--jade);
  font: 600 clamp(1.14rem, 2.2vw, 1.42rem) / 1.25 Georgia, serif;
}
.zd-cards h3 a, .zd-refs a { text-decoration-thickness: 1px; text-underline-offset: .18em; }
.zd-cards p, .zd-facts dd { margin: .42rem 0 0; }
.zd-cards--steps { counter-reset: zd-step; }
.zd-cards--steps li { counter-increment: zd-step; }
.zd-cards--steps li::before {
  content: counter(zd-step);
  padding-inline: .55rem;
  margin-bottom: .35rem;
  display: inline-block;
  border-radius: 3rem;
  background: var(--jade);
  color: var(--surface);
  font-variant-numeric: tabular-nums;
}
.zd-check-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.zd-checks { margin: 0; }
.zd-checks legend { padding-inline: .45rem; background: var(--surface); }
.zd-checks label {
  display: flex;
  align-items: start;
  padding: .55rem .1rem;
  min-height: 44px;
  gap: .55rem;
  cursor: pointer;
}
.zd-checks label + label { border-top: 1px solid var(--line); }
.zd-checks input { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; margin: .2rem 0 0; accent-color: var(--jade); }
.zd-note { margin-top: 1rem; border-inline-start: 3px solid var(--jade); max-width: 78ch; }
.zd-refs { margin-top: .85rem; }
.zd-time { padding-inline-start: 1rem; border-inline-start: 2px solid var(--copper); }
.zd-time > li { display: grid; grid-template-columns: minmax(10rem, 1fr) 2fr; gap: .35rem 1rem; padding: .7rem 0; }
.zd-time > li:not(:last-child) { border-bottom: 1px solid var(--line); }
.zd-time time { color: var(--red-dark); font-weight: 680; font-variant-numeric: tabular-nums; }
.zd-stem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: .6rem;
  align-items: center;
  max-width: 49rem;
  margin-block: 1rem;
}
.zd-stem > div { display: grid; justify-items: center; gap: .23rem; text-align: center; align-self: stretch; padding: .6rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.zd-stem div > span { color: var(--red-dark); font: 500 clamp(2.4rem, 8vw, 5rem) / 1.15 Georgia, serif; }
.zd-stem-join { font-size: 1.2rem; color: var(--jade); }
.zd-stem figcaption { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }
.zd-table { width: 100%; table-layout: fixed; border-collapse: collapse; background: var(--surface); }
.zd-table caption { margin-bottom: .4rem; text-align: start; font-weight: 650; }
.zd-table th, .zd-table td { padding: .7rem; border: 1px solid var(--line); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.zd-table thead th { background: var(--jade); color: var(--surface); }
.zd-table tr:nth-child(even) { background: var(--paper); }
.zd-action { display: inline-flex; max-width: 100%; margin-top: 1rem; white-space: normal; }
@media (max-width: 35rem) {
  .zd-time > li { grid-template-columns: 1fr; }
  .zd-table { font-size: .86rem; }
  .zd-table th, .zd-table td { padding: .35rem; }
}
