/* ── Tab panel (replaces results-pane) ── */
.tab-panel {
  border: 0.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: calc(100vh - 180px);
  align-self: stretch;
}
 
/* Tab bar */
.tab-bar {
  display: flex;
  align-items: stretch;
  border-bottom: 0.5px solid var(--border);
  background: var(--surface);
  overflow-x: auto;
  flex-shrink: 0;
  padding: 0 2px;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }

/* Accordion rows — match the tab-panel's interior font */
.tab-panel .accordion-button {
  font-size: 13px;
  color: var(--accent);
  background: var(--surface);
}

.tab-panel .accordion-body {
  font-size: 12.5px;
  background: var(--surface);
}

/* Remove the Bootstrap double-border between tab bar and content */
.tab-panel .tab-content {
  border: none;
  border-radius: 0;
  padding: 0;
}

.tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 38px;
  font-size: 13px;
  font-family: var(--sans);
  color: var(--text-2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
  transition: color 0.1s, background 0.1s;
}
.tab:hover  { color: var(--text); background: var(--surface-2); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 500; }
 
.tab-sep {
  width: 0.5px;
  background: var(--border);
  align-self: stretch;
  margin: 7px 3px;
  flex-shrink: 0;
}

/* Analytes page — full width, no separators */
.analytes-tabs .tab-bar .tab {
  flex: 1 1 0;
  justify-content: center;
  text-transform: none;
  font-size: 14.5px;
}
.analytes-tabs .tab-bar .tab-sep {
  display: none;
}

/* Analysis page — compact, keep separators */
.analysis-tabs .tab-bar .tab {
  flex: none;
  font-size: 12px;
  text-transform: none;
}
.analysis-tabs .tab-bar .tab-sep {
  display: block;
}
 