.disinfo-history {
  --dh-bg: #101b29;
  --dh-panel: #17283a;
  --dh-ink: #f3eee5;
  --dh-soft: #bdcad6;
  --dh-gold: #f0bd7a;
  --dh-line: #3c5267;
  --dh-paper: #f4f0e7;
  --dh-paper-ink: #182837;
  --dh-paper-soft: #4e5d65;
  background: var(--dh-bg);
  color: var(--dh-ink);
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
  scroll-margin-top: 4rem;
  color-scheme: dark;
}
.disinfo-history *, .disinfo-history *::before, .disinfo-history *::after { box-sizing: border-box; }
.disinfo-history .dh-wrap { width: min(1080px, calc(100% - clamp(2rem, 9vw, 6rem))); margin-inline: auto; }
.disinfo-history .dh-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: .6rem clamp(2rem, 5vw, 5rem); align-items: end; }
.disinfo-history .dh-intro .dh-kicker { grid-column: 1 / -1; }
.disinfo-history .dh-intro h2 { font: 500 clamp(2.5rem, 6vw, 5.1rem)/.99 Georgia, Cambria, serif; letter-spacing: -.052em; margin: 0; }
.disinfo-history .dh-intro em { color: var(--dh-gold); font-weight: 400; }
.disinfo-history .dh-intro > p:last-child { color: var(--dh-soft); max-width: 52ch; line-height: 1.7; margin: 0; }
.disinfo-history .dh-kicker { color: var(--dh-gold); font: 750 .72rem/1.4 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .6rem; }
.disinfo-history .dh-timeline { --dh-era-width: clamp(6.4rem, 12vw, 8.7rem); --dh-era-gap: clamp(1.25rem, 3.8vw, 3.5rem); list-style: none; position: relative; margin: clamp(2.1rem, 6vw, 4.8rem) 0 0; padding: 0; }
.disinfo-history .dh-timeline::before { content: ""; position: absolute; inset: .8rem auto 1.25rem calc(var(--dh-era-width) + var(--dh-era-gap) * .5); width: 1px; background: var(--dh-line); }
.disinfo-history .dh-timeline > li { position: relative; display: grid; grid-template-columns: var(--dh-era-width) minmax(0, 1fr); gap: var(--dh-era-gap); align-items: start; margin: 0 0 1rem; }
.disinfo-history .dh-timeline > li::before { content: ""; position: absolute; top: 1.75rem; left: calc(var(--dh-era-width) + var(--dh-era-gap) * .5 - 4px); width: 9px; height: 9px; border: 2px solid var(--dh-gold); border-radius: 50%; background: var(--dh-bg); }
.disinfo-history .dh-era-label { color: var(--dh-gold); font: 700 .79rem/1.4 system-ui, sans-serif; padding-top: 1.47rem; text-align: right; }
.disinfo-history .dh-era { min-width: 0; margin: 0; padding: clamp(1.05rem, 3vw, 1.8rem); background: var(--dh-panel); border: 1px solid var(--dh-line); border-radius: .45rem; }
.disinfo-history .dh-era-brief { background: transparent; }
.disinfo-history .dh-era h3, .disinfo-history .dh-chart h3 { font: 500 clamp(1.45rem, 3vw, 2.15rem)/1.18 Georgia, Cambria, serif; letter-spacing: -.02em; margin: 0 0 .55rem; text-wrap: balance; }
.disinfo-history .dh-era p:not(.dh-kicker) { color: var(--dh-soft); max-width: 70ch; line-height: 1.65; margin: 0; }
.disinfo-history .dh-era a, .disinfo-history .dh-source a { display: inline-block; color: var(--dh-gold); text-decoration: underline; text-underline-offset: .22em; margin-top: .55rem; font-size: .82rem; overflow-wrap: anywhere; }
.disinfo-history .dh-era a:hover, .disinfo-history .dh-source a:hover { text-decoration-thickness: 2px; }
.disinfo-history :is(a, input, summary):focus-visible { outline: 2px solid var(--dh-gold); outline-offset: 4px; }
.disinfo-history .dh-chart {
  --dh-chart-cols: minmax(6.1rem, .37fr) minmax(0, 1fr) minmax(6.7rem, .4fr);
  --dh-chart-gap: clamp(.45rem, 1.65vw, 1.15rem);
  min-width: 0; margin: 0; padding: clamp(1.1rem, 4vw, 2.5rem); border-radius: .45rem;
  background: var(--dh-paper); color: var(--dh-paper-ink); color-scheme: light;
}
.disinfo-history .dh-chart .dh-kicker { color: #85541f; }
.disinfo-history .dh-chart-header p:last-child { margin: 0; color: var(--dh-paper-soft); max-width: 58ch; line-height: 1.6; }
.disinfo-history .dh-chart :is(a, input, summary):focus-visible { outline-color: #935715; }
.disinfo-history .dh-word-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 .6rem; margin: 1.4rem 0 1.45rem; padding: .75rem 1rem; border: 1px solid #c5bbb0; border-radius: .3rem; }
.disinfo-history .dh-word-controls[hidden] { display: none; }
.disinfo-history .dh-word-controls label { font-size: .9rem; font-weight: 700; }
.disinfo-history .dh-word-controls output { font: 750 .96rem/1.25 system-ui, sans-serif; font-variant-numeric: tabular-nums; color: #78450d; }
.disinfo-history .dh-word-controls input { grid-column: 1 / -1; display: block; width: 100%; min-height: 44px; margin: 0; accent-color: #925510; cursor: pointer; }
.disinfo-history .dh-word-min, .disinfo-history .dh-word-max { font-size: .74rem; color: var(--dh-paper-soft); }
.disinfo-history .dh-word-max { text-align: right; }
.disinfo-history .dh-axis-label { font-size: .82rem; color: var(--dh-paper-soft); line-height: 1.5; margin: 1.2rem 0 .5rem; }
.disinfo-history .dh-axis, .disinfo-history .dh-row { display: grid; grid-template-columns: var(--dh-chart-cols); align-items: center; gap: var(--dh-chart-gap); }
.disinfo-history .dh-axis-ticks { grid-column: 2; position: relative; height: 1.8rem; border-bottom: 1px solid #a29787; }
.disinfo-history .dh-axis-ticks span { position: absolute; inset: auto auto .32rem var(--dh-tick); transform: translateX(-50%); white-space: nowrap; color: var(--dh-paper-soft); font: .65rem/1 system-ui, sans-serif; }
.disinfo-history .dh-axis-ticks span:first-child { transform: none; }
.disinfo-history .dh-axis-ticks span:last-child { transform: translateX(-100%); }
.disinfo-history .dh-axis-ticks span:nth-last-child(2) { display: none; }
.disinfo-history .dh-bars { list-style: none; padding: 0; margin: 0; }
.disinfo-history .dh-row { min-height: 3.45rem; border-bottom: 1px solid #ded5c8; padding-block: .55rem; }
.disinfo-history .dh-rate time { font-size: .98rem; font-weight: 780; font-variant-numeric: tabular-nums; }
.disinfo-history .dh-rate small { display: block; font-size: .7rem; line-height: 1.3; color: var(--dh-paper-soft); }
.disinfo-history .dh-value { color: #6e4216; text-align: right; line-height: 1.35; font-size: .82rem; font-variant-numeric: tabular-nums; }
.disinfo-history .dh-track { position: relative; height: .82rem; min-width: 0; background: #e5dccf; border-left: 1px solid #a29787; }
.disinfo-history .dh-range, .disinfo-history .dh-fill { position: absolute; inset: 0 auto 0 0; display: block; transition: width 180ms ease-out; }
.disinfo-history .dh-range, .disinfo-history .dh-legend span { background: repeating-linear-gradient(135deg,#9b6931 0 1px,#e8cda8 1px 4px); }
.disinfo-history .dh-range { width: var(--dh-bar-max); }
.disinfo-history .dh-fill { width: var(--dh-bar-min); background: #8b561e; }
.disinfo-history .dh-legend { display: flex; gap: .45rem; align-items: baseline; margin: .75rem 0 1.15rem; color: var(--dh-paper-soft); font-size: .76rem; line-height: 1.45; }
.disinfo-history .dh-legend span { width: .82rem; height: .64rem; flex: 0 0 .82rem; }
.disinfo-history .dh-method { border-block: 1px solid #c5bbb0; color: var(--dh-paper-soft); font-size: .82rem; line-height: 1.55; }
.disinfo-history .dh-method summary { display: list-item; list-style: revert; min-height: 44px; line-height: 1.4; padding-block: .8rem; color: #78450d; cursor: pointer; font-weight: 750; }
.disinfo-history .dh-method summary::marker { color: #8b561e; }
.disinfo-history .dh-method p { margin: .4rem 0 .85rem; max-width: 75ch; }
.disinfo-history .dh-source { color: var(--dh-paper-soft); font-size: .78rem; margin: .65rem 0 0; line-height: 1.55; }
.disinfo-history .dh-source a { display: inline; color: #78450d; font-size: inherit; }
.disinfo-history .dh-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.disinfo-history .dh-takeaway { margin: clamp(1.5rem, 4vw, 3rem) 0 0; padding: .9rem 1.2rem; border-left: 2px solid var(--dh-gold); color: var(--dh-soft); max-width: 73ch; line-height: 1.65; }
.disinfo-history .dh-takeaway p:last-child { margin: 0; }
.disinfo-history .dh-takeaway strong { color: var(--dh-ink); }
@media (min-width: 72rem) { .disinfo-history .dh-axis-ticks span:nth-last-child(2) { display: block; } }
@media (max-width: 720px) {
  .disinfo-history .dh-intro { grid-template-columns: 1fr; gap: .65rem; }
  .disinfo-history .dh-intro > p:last-child { margin-top: .3rem; }
  .disinfo-history .dh-timeline { padding-left: 1.05rem; }
  .disinfo-history .dh-timeline::before { left: .2rem; }
  .disinfo-history .dh-timeline > li { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .disinfo-history .dh-timeline > li::before { left: -1.07rem; top: .38rem; }
  .disinfo-history .dh-era-label { text-align: left; padding-top: .08rem; }
  .disinfo-history .dh-chart { --dh-chart-cols: minmax(0, 1fr) auto; --dh-chart-gap: .35rem; }
  .disinfo-history .dh-axis-ticks { grid-column: 1 / -1; }
  .disinfo-history .dh-track { grid-column: 1 / -1; grid-row: 2; height: .64rem; }
  .disinfo-history .dh-rate small { display: inline; margin-left: .35rem; }
  .disinfo-history .dh-value { grid-column: 2; grid-row: 1; }
}
@media (max-width: 375px) {
  .disinfo-history .dh-rate small { display: block; margin-left: 0; }
  .disinfo-history .dh-value { font-size: .76rem; }
  .disinfo-history .dh-word-controls { padding-inline: .6rem; }
  .disinfo-history .dh-word-controls label { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .disinfo-history .dh-range, .disinfo-history .dh-fill { transition: none; }
}
