/* Reading aids for the two September 11 articles. Research text stays intact. */
.reading-page {
  --text2: #B2BECE;
  --text3: #97AAC3;
  --text-2: var(--text2);
  --text-3: var(--text3);
}
.reading-page :is(.btn-primary, .skip-link) { color: var(--bg2); }
.reading-page .article-body a { text-decoration: underline; text-underline-offset: 3px; }
.reading-page .article-body h2 { scroll-margin-top: 96px; }
.reading-page .reading-status {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: var(--r);
  margin-bottom: 1rem;
}
.reading-status strong { color: var(--accent-lt); font-size: .85rem; }
.reading-status p { color: var(--text2); font-size: .86rem; line-height: 1.65; margin-top: .4rem; }
/* Override legacy bare nav selectors: this is an in-flow article index. */
.reading-page .reading-toc {
  position: static; display: flex; flex-wrap: wrap; align-items: center;
  height: auto !important; padding: .5rem 0 1.2rem !important;
  gap: .25rem 1rem; margin-bottom: 1.5rem;
  background: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 0; border-bottom: 1px solid var(--border);
}
.reading-toc > span { flex-basis: 100%; font-size: .72rem; color: var(--text3); }
.reading-toc a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-size: .82rem; text-decoration: underline; text-underline-offset: 4px; }
.reading-toc a:hover { color: var(--accent-lt); }
.reading-page a:focus-visible { outline: 2px solid var(--accent-lt); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Watchlist table (5 columns): stack each row into a card below 620px so the
   rationale column is readable without horizontal scrolling. */
@media (max-width: 620px) {
  .reading-page .watch-table,
  .reading-page .watch-table tbody,
  .reading-page .watch-table tr { display: block; width: 100%; }
  .reading-page .watch-table thead { display: none; }
  .reading-page .watch-table { border: 0; border-radius: 0; overflow: visible; }
  .reading-page .watch-table tr { padding: .95rem 0; border-bottom: 1px solid var(--border); }
  .reading-page .watch-table tbody tr:last-child { border-bottom: 0; }
  .reading-page .watch-table tbody tr:hover td { background: transparent; }
  .reading-page .watch-table tbody tr:nth-child(even) td { background: transparent; }
  .reading-page .watch-table td { display: block; padding: .1rem 0; border: 0; }
  .reading-page .watch-table td.watch-name { font-size: 1rem; padding-bottom: .35rem; }
  .reading-page .watch-table td.watch-stat { display: inline-block; width: auto; margin-right: 1.1rem; padding: .1rem 0; color: var(--text); }
  .reading-page .watch-table td.watch-stat::before { content: attr(data-label) " "; color: var(--text3); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
  .reading-page .watch-table td.watch-why { color: var(--text2); padding-top: .45rem; line-height: 1.55; }
}
