/* css/tabs.css — tabs inside a screen (js/ui/tabs.js).
   An underlined strip: the selected tab carries a bar and bold text, never
   the colour alone. Each tab is a 44 px touch target. */
.tl-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.tl-tabs::-webkit-scrollbar { display: none; }
.tl-tab {
  flex: 0 0 auto;
  min-height: 44px;
  margin-bottom: -1px;
  padding: 0 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.tl-tab:hover { color: var(--text); }
.tl-tab[aria-selected="true"] { color: var(--text); font-weight: 700; border-bottom-color: var(--accent); }
/* A panel never forces its tab strip wider than the screen. */
.tl-tab-panel { min-width: 0; }
.tl-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 6px 6px 0 0; }
@media (prefers-reduced-motion: reduce) {
  .tl-tab { transition: none; }
}
