.theme-movement {
  --rtm-grid: minmax(10rem,1.1fr) minmax(8.5rem,1fr) 4.1rem minmax(10rem,auto);
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
.theme-movement .rtm-title {
  margin: 0;
  color: var(--ink,#16372e);
  font: 500 clamp(1.3rem,2vw,1.65rem)/1.2 Georgia,serif;
}
.theme-movement .rtm-finding { max-width: 74ch; margin: .8rem 0; line-height: 1.5; }
.theme-movement .rtm-dates { font-weight: 700; margin: .55rem 0; }
.theme-movement .rtm-note,
.theme-movement .rtm-footnote { max-width: 74ch; margin: .65rem 0; line-height: 1.5; }
.theme-movement .rtm-footnote { color: var(--muted,#52635c); font-size: .9rem; }
.theme-movement .rtm-axis,
.theme-movement .rtm-row { display: grid; align-items: center; grid-template-columns: var(--rtm-grid); column-gap: .75rem; }
.theme-movement .rtm-axis { margin-top: 1.15rem; padding: .35rem 0; font-size: .875rem; color: var(--muted,#52635c); }
.theme-movement .rtm-directions { display: flex; justify-content: space-between; position: relative; }
.theme-movement .rtm-directions span:nth-child(2) { position: absolute; left: 50%; transform: translateX(-50%); }
.theme-movement .rtm-axis-change,.theme-movement .rtm-change { text-align: right; }
.theme-movement .rtm-list { padding: 0; margin: 0; list-style: none; }
.theme-movement .rtm-row { margin: 0; padding: .5rem 0; border-top: 1px solid var(--line,#d4ded8); }
.theme-movement .rtm-label { min-width: 0; overflow-wrap: anywhere; font-size: .94rem; }
.theme-movement .rtm-change { color: var(--ink,#16372e); font-weight: 700; }
.theme-movement .rtm-track { display: block; position: relative; height: 1.3rem; background: #eff3ef; }
.theme-movement .rtm-track::after { content: ''; position: absolute; left: 50%; inset-block: 0; border-left: 1px solid #64746a; }
.theme-movement .rtm-bar { display: block; position: absolute; top: .22rem; bottom: .22rem; }
.theme-movement .rtm-up { min-width: 1px; left: 50%; background: #20624f; }
.theme-movement .rtm-down { min-width: 1px; right: 50%; background: #886330; }
.theme-movement .rtm-level { height: .35rem; width: .35rem; top: 50%; left: 50%; border-radius: 50%; transform: translate(-50%,-50%); background: #48574f; z-index: 1; }
.theme-movement .rtm-counts { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .15rem .65rem; align-items: center; }
.theme-movement .rtm-period { display: inline-block; padding: .32rem 0; font: inherit; font-size: .875rem; line-height: 1.3; white-space: nowrap; }
.theme-movement button.rtm-period { color: #195743; background: transparent; border: 0; border-radius: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.theme-movement .rtm-more { margin: .35rem 0; }
.theme-movement .rtm-more > summary { cursor: pointer; padding: .6rem 0; font-weight: 650; }
.theme-movement :is(button,summary):focus-visible { outline: 3px solid #245b9c; outline-offset: 3px; }
@media(max-width: 46rem) {
  .theme-movement .rtm-axis { display: none; }
  .theme-movement .rtm-row { grid-template-columns: minmax(0,1fr) auto; gap: .35rem .65rem; padding: .65rem 0; }
  .theme-movement .rtm-label { grid-column: 1/-1; }
  .theme-movement .rtm-counts { grid-column: 1/-1; justify-content: flex-start; gap: 1rem; }
}
@media(forced-colors:active) {
  .theme-movement .rtm-bar { background: CanvasText; forced-color-adjust: none; }
  .theme-movement .rtm-track { outline: 1px solid CanvasText; }
}
