.cycles-main {
  max-width: 68rem;
}

.cycles-main .held-heading h1 {
  max-width: 25ch;
}

.cycles-intro > p, .cycles-outcome > p, .cycles-details > p {
  max-width: 68ch;
}

.cycles-intro > p {
  margin-block: .55rem .8rem;
}

.cycles-choices [aria-pressed="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--surface);
}

.cycles-outcome {
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}

.cycles-outcome h3 {
  font-size: 1.35rem;
}

.cycles-outcome p {
  margin: .3rem 0 0;
}

.cycles-summary, .cycles-text {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: .5rem 1rem;
}

.cycles-summary {
  margin-top: .6rem;
}

.cycles-summary article {
  padding: .5rem .72rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--surface);
}

.cycles-summary p, .cycles-text h4 {
  margin: 0;
}

.cycles-summary p:first-child {
  font-weight: 750;
}

.cycles-summary article + article p:first-child {
  color: var(--accent-text);
}

.cycles-main .held-score > p {
  margin: .35rem 0;
}

.cycles-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .95rem;
  color: var(--muted);
  font-size: .875rem;
}

.cycles-legend b {
  color: var(--ink);
}

.cycles-score {
  max-width: 100%;
}

.cycles-score .held-timeline svg {
  max-width: 55rem;
  margin-inline: auto;
}

.held-large-text .cycles-score .held-timeline {
  min-width: 33rem;
}

.cycles-details {
  margin-top: .75rem;
  overflow-wrap: anywhere;
}

.cycles-details summary, .cycles-main .held-text-view summary {
  padding-block: .2rem;
}

.cycles-text section {
  padding-block: .45rem;
}

.cycles-text ul {
  margin-block: .2rem;
  padding-inline-start: 1.2rem;
}

.cycles-text li {
  margin-block: .15rem;
}

.cycles-table {
  max-width: 100%;
  overflow: auto;
  margin-block: .75rem;
}

.cycles-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: .9rem;
}

.cycles-table th, .cycles-table td {
  padding: .3rem .6rem;
  border-bottom: 1px solid var(--line);
}

.cycles-related {
  color: var(--muted);
}

.cycles-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: .5rem;
}

.cycles-pitch-plot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .22rem .55rem;
  margin-block: .45rem;
  font-size: .8rem;
}

.cycles-pitch-label {
  line-height: 1.2;
}

.cycles-pitch-line {
  position: relative;
  height: .75rem;
  margin-inline: .33rem;
  border-inline: 1px solid var(--line);
  background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat;
}

.cycles-pitch-mark {
  position: absolute;
  top: 50%;
  left: var(--frequency-position);
  width: .58rem;
  height: .58rem;
  border: .11rem solid var(--forest);
  border-radius: 50%;
  background: var(--surface);
  transform: translate(-50%, -50%);
}

.cycles-pitch-mark.final {
  border-radius: 0;
  border-color: var(--accent-text);
  background: var(--accent-text);
}

.cycles-pitch-scale {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 .4rem;
  color: var(--muted);
}

@media (max-width: 40rem) {
  .held-large-text .cycles-pitch-plot {
    grid-template-columns: minmax(0, 1fr);
  }

  .held-large-text .cycles-pitch-plot > span:empty {
    display: none;
  }
}

.held-large-text .cycles-page .site-nav,
.held-large-text .cycles-page .site-nav a {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.cycles-page .skip-link {
  max-inline-size: calc(100% - 1.3rem);
  overflow-wrap: anywhere;
}

.cycles-main .held-heading > div {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}
