/* topic pages (topic_page.py): the index list; the rest is d.css */
.tp-list li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tp-list li span { color: var(--ink3); }
.tp-how { max-width: 64ch; color: var(--ink3); margin-top: 16px; }
/* the timeline's kind tabs stay on one line on phones and scroll inside themselves (never the page) */
@media (max-width: 860px) { .tlbox .seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; } .tlbox .seg button { flex: 0 0 auto; white-space: nowrap; } }
/* story version (topic_d.py): lead, turning points, money chart, decade list */
.ph .lede .tp-l2 { display: block; margin-top: 4px; }
.tp-sec { margin: 0 0 22px; }
.tp-list2 { list-style: none; margin: 6px 0 0; padding: 0; max-width: 70ch; }
.tp-list2 li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 12px; font-size: 15px; line-height: 1.5; padding: 9px 0; border-top: 1px solid var(--rule2); }
.tp-list2 li > b { font-weight: 600; font-variant-numeric: tabular-nums; }
.tp-s { display: block; font-size: 12px; margin-top: 2px; color: var(--ink3); }
.tp-s a { white-space: nowrap; }
.tp-oc { white-space: nowrap; font-style: normal; font-size: 11.5px; padding: 0 5px; border: 1px solid var(--rule); border-radius: 2px; color: var(--ink2); margin-left: 2px; }
.tp-oc.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.tp-oc.no { color: var(--no); border-color: color-mix(in srgb, var(--no) 35%, transparent); }
.tp-all { margin: 6px 0 0; font-size: 14px; border-top: 1px solid var(--rule2); padding-top: 10px; max-width: 70ch; }
.hist.tp-money .bars { height: 64px; gap: 2px; }
.hist.tp-money .bars i { flex: 1; }
.hist.tp-money .xl { gap: 2px; }
.hist .tp-y { font-size: 10.5px; color: var(--ink3); margin: 0 0 2px; }
.tp-dec li span { font-variant-numeric: tabular-nums; }
