/* Source-labelled tags shared only by catalog-linked pages. */
.cc-tag-scroll { display: block; position: relative; min-width: 0; max-width: 100%; }
.cc-tags { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; padding: 6px 22px 6px 2px; scrollbar-width: thin; max-width: 100%; }
.cc-tag-scroll[data-overflow="true"]::after { content: '›'; position: absolute; right: 0; top: 6px; bottom: 6px; display: flex; align-items: center; justify-content: flex-end; width: 18px; background: var(--bg); color: var(--ink); pointer-events: none; font: 18px var(--ui); }
/* A tag is the lesson badge's chip (site/lesson-features.css .lf-chip): the same box, declared the same way. */
.cc-tags .cc-tag { display: inline-flex; align-items: center; flex: 0 0 auto; box-sizing: border-box; min-height: 44px; padding: 0 14px; border: 1px solid var(--dim); border-radius: 999px; background: transparent; font: 600 15px/1.4 var(--ui); white-space: nowrap; color: var(--ink); text-decoration: none; }
.cc-tags .cc-tag:hover { text-decoration: underline; }
.cc-tags:focus-visible, .cc-tags .cc-tag:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
@media (forced-colors: active) { .cc-tags .cc-tag { border-color: LinkText; color: LinkText; } }
.unit-page ol.lessons > li > .cc-tag-scroll { grid-column: 2 / -1; grid-row: 3; width: 100%; }
.unit-page .l-what .cc-tag-scroll { width: 100%; }
