/* Topic navigation remains native links, with useful states without JavaScript. */
.mtt-ch-topics { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-block: 1rem; }
.mtt-ch-topics .mtt-ch-topics-label { flex-basis: 100%; font-weight: 600; }
.mtt-ch-topics ul { display: flex; flex-wrap: wrap; gap: .5rem; width: 100%; list-style: none; padding: 0; margin: 0; }
.mtt-ch-topics li { max-width: 100%; margin: 0; padding: 0; }
.mtt-ch-topics li a { display: inline-flex; align-items: center; gap: .5rem; box-sizing: border-box; min-height: 44px; max-width: 100%; padding: .5rem .8rem; border: 1px solid currentColor; border-radius: 2rem; color: inherit; background: transparent; text-decoration: none; line-height: 1.4; }
.mtt-ch-topics li a:hover, .mtt-ch-topics li a:focus-visible { background: color-mix(in srgb, currentColor 8%, transparent); text-decoration: none; }
.mtt-ch-topics li a[aria-current="true"] { background: var(--mtt-ch-accent, var(--mtt-ch-theme-accent, ButtonFace)); color: var(--mtt-ch-accent-text, var(--mtt-ch-theme-accent-text, ButtonText)); font-weight: 700; border-width: 2px; padding: calc(.5rem - 1px) calc(.8rem - 1px); }
.mtt-ch-topics li a[aria-current="true"]:hover { box-shadow: inset 0 0 0 1px currentColor; }
.mtt-ch-topic-count { flex-shrink: 0; font-size: .8em; font-variant-numeric: tabular-nums; border-radius: 2rem; padding: .1rem .4rem; background: color-mix(in srgb, currentColor 10%, transparent); }
.mtt-ch-topics .mtt-ch-topic-clear { min-height: 44px; padding-inline: 0; font-size: .9em; text-decoration: underline; }
.mtt-ch-topics .mtt-ch-topic-help { flex-basis: 100%; font-size: .9em; line-height: 1.5; margin: 0; }
.mtt-ch-topics a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
mark.mtt-ch-topic-mention { color: #352500; background: #ffe6a6; padding: 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; text-decoration: underline; text-decoration-color: #9b6800; text-underline-offset: .15em; }
@media (forced-colors: active) { mark.mtt-ch-topic-mention { color: MarkText; background: Mark; } .mtt-ch-topics li [aria-current="true"] { outline: 2px solid Highlight; } }
