/* =============================================================================
   BLACK SIGNAL — css/components/tabs.css
   TABS — a ruled strip of sweep keys under a hairline; the current tab is the
   sweep's fill, held (.is-active / aria-selected=true).

     .bs-tabs > .bs-tab

   Legacy names mapped: Analytics' .md-tabs/.md-tab (+ .md-tab--active), the
   C and Python editors' .bsc-output-tabs/.bsc-output-tab and
   .bspy-output-tabs/.bspy-output-tab (+ .is-active).
   ============================================================================= */
@layer components {

.bs-tabs, .md-tabs, .bsc-output-tabs, .bspy-output-tabs {
  flex: 0 0 auto;
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--sig-rule);
  background: transparent;
}
.bs-tab, .md-tab, .bsc-output-tab, .bspy-output-tab {
  flex: 0 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 16px;
  border-width: 0 1px 0 0;
  border-color: var(--sig-rule);
  clip-path: none;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1;
  color: var(--orange);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* Analytics' three mastery views share the cell's width. */
.md-tab { flex: 1 1 auto; padding: 0 10px; font-size: 11px; letter-spacing: 0.12em; }
.md-tab:last-child { border-right-width: 0; }
/* Current tab: the fill, held */
.bs-tab.is-active, .md-tab--active, .bsc-output-tab.is-active, .bspy-output-tab.is-active {
  background-size: 100% 100%;
  color: var(--accent-on-accent);
  border-color: var(--orange);
}

}
